fix reference to _PerGlyphInfo

BUG=skia:
TBR=bungeman@google.com
NOTRY=True
NOTREECHECKS=True

Review URL: https://codereview.chromium.org/1136283004
This commit is contained in:
reed 2015-05-12 10:35:48 -07:00 committed by Commit bot
parent b1207e8164
commit 1ebf0d2edc

View File

@ -844,7 +844,7 @@ SkPDFFont* SkPDFFont::GetFontResource(SkPDFCanon* canon,
fontMetrics->fType != SkAdvancedTypefaceMetrics::kTrueType_Font) {
// Font does not support subsetting, get new info with advance.
info = SkTBitOr<SkAdvancedTypefaceMetrics::PerGlyphInfo>(
info, SkAdvancedTypefaceMetrics::kHAdvance_PerGlyphInfo);
info, kHAdvance_PerGlyphInfo);
fontMetrics.reset(
typeface->getAdvancedTypefaceMetrics(info, NULL, 0));
}