diff options
author | bungeman <bungeman@google.com> | 2014-10-20 13:33:19 -0700 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2014-10-20 13:33:19 -0700 |
commit | a4c4a2d8cd65abb1e5ac20813831cdb9ace6c7ee (patch) | |
tree | cf64b94cb51a6316cf89080697cdd5d54e459ecc /src/ports/SkFontHost_FreeType_common.h | |
parent | fca302ccf464933e44e00255654d27a7705abb7f (diff) |
Replace SkTypeface::Style with SkFontStyle.
Committed: https://skia.googlesource.com/skia/+/43b8b36b20ae00e2d78421c4cda1f3f922983a20
Review URL: https://codereview.chromium.org/488143002
Diffstat (limited to 'src/ports/SkFontHost_FreeType_common.h')
-rw-r--r-- | src/ports/SkFontHost_FreeType_common.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/ports/SkFontHost_FreeType_common.h b/src/ports/SkFontHost_FreeType_common.h index f093dba8a5..79e6d65163 100644 --- a/src/ports/SkFontHost_FreeType_common.h +++ b/src/ports/SkFontHost_FreeType_common.h @@ -49,10 +49,10 @@ public: * name and style from a stream, using FreeType's API. */ static bool ScanFont(SkStream* stream, int ttcIndex, - SkString* name, SkTypeface::Style* style, bool* isFixedPitch); + SkString* name, SkFontStyle* style, bool* isFixedPitch); protected: - SkTypeface_FreeType(Style style, SkFontID uniqueID, bool isFixedPitch) + SkTypeface_FreeType(const SkFontStyle& style, SkFontID uniqueID, bool isFixedPitch) : INHERITED(style, uniqueID, isFixedPitch) , fGlyphCount(-1) {} |