diff options
author | 2014-10-20 12:33:59 -0700 | |
---|---|---|
committer | 2014-10-20 12:33:59 -0700 | |
commit | 43b8b36b20ae00e2d78421c4cda1f3f922983a20 (patch) | |
tree | dd61aeeafd3280074f03e7ef5b1a462bfd060c9e /src/ports/SkFontHost_FreeType_common.h | |
parent | 33e6466a4faa3a58202bf056b50fdcd9dc34cc22 (diff) |
Replace SkTypeface::Style with SkFontStyle.
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) {} |