| Index: src/ports/SkFontConfigTypeface.h
|
| diff --git a/src/ports/SkFontConfigTypeface.h b/src/ports/SkFontConfigTypeface.h
|
| index a6dc6cae7984ec7a2d8ca12264c37623c339fc9e..68a36e35e1b2041715f85a2ce440c669f83cbf55 100644
|
| --- a/src/ports/SkFontConfigTypeface.h
|
| +++ b/src/ports/SkFontConfigTypeface.h
|
| @@ -39,7 +39,11 @@ public:
|
| return fFamilyName.equals(name);
|
| }
|
|
|
| +#ifdef SK_VERY_LEGACY_CREATE_TYPEFACE
|
| static SkTypeface* LegacyCreateTypeface(const char familyName[], SkTypeface::Style);
|
| +#else
|
| + static SkTypeface* LegacyCreateTypeface(const char familyName[], SkFontStyle);
|
| +#endif
|
|
|
| protected:
|
| FontConfigTypeface(const SkFontStyle& style,
|
|
|