Index: src/ports/SkFontHost_mac.cpp |
diff --git a/src/ports/SkFontHost_mac.cpp b/src/ports/SkFontHost_mac.cpp |
index c129a6b24bcd7844e852fd71581f03652ce32289..55eec335027a9262e580081d98f7b09716f86114 100644 |
--- a/src/ports/SkFontHost_mac.cpp |
+++ b/src/ports/SkFontHost_mac.cpp |
@@ -436,7 +436,7 @@ public: |
SkTypeface_Mac(CTFontRef fontRef, CFTypeRef resourceRef, |
const SkFontStyle& fs, bool isFixedPitch, |
bool isLocalStream) |
- : SkTypeface(fs, SkTypefaceCache::NewFontID(), isFixedPitch) |
+ : SkTypeface(fs, isFixedPitch) |
, fFontRef(fontRef) // caller has already called CFRetain for us |
, fOriginatingCFTypeRef(resourceRef) // caller has already called CFRetain for us |
, fHasColorGlyphs(SkToBool(CTFontGetSymbolicTraits(fFontRef) & SkCTFontColorGlyphsTrait)) |