Index: src/core/SkGlyphCache.cpp |
=================================================================== |
--- src/core/SkGlyphCache.cpp (revision 12394) |
+++ src/core/SkGlyphCache.cpp (working copy) |
@@ -87,8 +87,6 @@ |
fGlyphArray.setReserve(kMinGlyphCount); |
- fMetricsCount = 0; |
- fAdvanceCount = 0; |
fAuxProcList = NULL; |
} |
@@ -320,11 +318,9 @@ |
if (kJustAdvance_MetricsType == mtype) { |
fScalerContext->getAdvance(glyph); |
- fAdvanceCount += 1; |
} else { |
SkASSERT(kFull_MetricsType == mtype); |
fScalerContext->getMetrics(glyph); |
- fMetricsCount += 1; |
} |
return glyph; |