Index: src/pdf/SkPDFFont.cpp |
diff --git a/src/pdf/SkPDFFont.cpp b/src/pdf/SkPDFFont.cpp |
index 0aa2418e859cacb44bc3badf0c17b00766c53728..0afdb9b6167b4a5ed26a858ecdbace09ce3d3079 100644 |
--- a/src/pdf/SkPDFFont.cpp |
+++ b/src/pdf/SkPDFFont.cpp |
@@ -843,8 +843,8 @@ SkPDFFont* SkPDFFont::GetFontResource(SkPDFCanon* canon, |
if (fontMetrics.get() && |
fontMetrics->fType != SkAdvancedTypefaceMetrics::kTrueType_Font) { |
// Font does not support subsetting, get new info with advance. |
- info = SkTBitOr<SkAdvancedTypefaceMetrics::PerGlyphInfo>( |
- info, kHAdvance_PerGlyphInfo); |
+ info = SkTBitOr<SkTypeface::PerGlyphInfo>( |
+ info, SkTypeface::kHAdvance_PerGlyphInfo); |
fontMetrics.reset( |
typeface->getAdvancedTypefaceMetrics(info, NULL, 0)); |
} |