Index: src/core/SkGlyphCache.cpp |
diff --git a/src/core/SkGlyphCache.cpp b/src/core/SkGlyphCache.cpp |
index 57c54bfc1ec3f7f35d3c499ba14c26abe99bcdcf..f0fd859385e02d1c3dfb3be213b4421af6a4d5d5 100755 |
--- a/src/core/SkGlyphCache.cpp |
+++ b/src/core/SkGlyphCache.cpp |
@@ -314,7 +314,7 @@ SkGlyph* SkGlyphCache::lookupMetrics(uint32_t id, MetricsType mtype) { |
glyph = (SkGlyph*)fGlyphAlloc.alloc(sizeof(SkGlyph), |
SkChunkAlloc::kThrow_AllocFailType); |
- glyph->init(id); |
+ glyph->initCommon(id); |
*fGlyphArray.insert(hi) = glyph; |
if (kJustAdvance_MetricsType == mtype) { |