Index: src/fonts/SkTestScalerContext.cpp |
diff --git a/src/fonts/SkTestScalerContext.cpp b/src/fonts/SkTestScalerContext.cpp |
index 50706f66c3e80190d0d8699556057e87a2a93f81..8038b0398ce58e33fa45c32d723cd283b15f5739 100644 |
--- a/src/fonts/SkTestScalerContext.cpp |
+++ b/src/fonts/SkTestScalerContext.cpp |
@@ -146,17 +146,7 @@ SkAdvancedTypefaceMetrics* SkTestTypeface::onGetAdvancedTypefaceMetrics( |
// pdf only |
SkAdvancedTypefaceMetrics* info = new SkAdvancedTypefaceMetrics; |
info->fFontName.set(fTestFont->fName); |
- info->fType = SkAdvancedTypefaceMetrics::kOther_Font; |
- info->fFlags = SkAdvancedTypefaceMetrics::kEmpty_FontFlag; |
info->fLastGlyphID = SkToU16(onCountGlyphs() - 1); |
- info->fEmSize = 0; |
- info->fStyle = 0; |
- info->fItalicAngle = 0; |
- info->fAscent = 0; |
- info->fDescent = 0; |
- info->fStemV = 0; |
- info->fCapHeight = 0; |
- info->fBBox = SkIRect::MakeEmpty(); |
return info; |
} |