Index: src/core/SkGlyphCache.cpp |
=================================================================== |
--- src/core/SkGlyphCache.cpp (revision 9053) |
+++ src/core/SkGlyphCache.cpp (working copy) |
@@ -62,7 +62,7 @@ |
fDesc = desc->copy(); |
fScalerContext = typeface->createScalerContext(desc); |
- fScalerContext->getFontMetrics(NULL, &fFontMetricsY); |
+ fScalerContext->getFontMetrics(&fFontMetrics); |
// init to 0 so that all of the pointers will be null |
memset(fGlyphHash, 0, sizeof(fGlyphHash)); |