diff options
author | vandebo@chromium.org <vandebo@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-12-09 20:52:11 +0000 |
---|---|---|
committer | vandebo@chromium.org <vandebo@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-12-09 20:52:11 +0000 |
commit | 3cd37bc0010fe8f08bce40a3caac4836b0e3a7d3 (patch) | |
tree | 08724ba0bab44a11d45a2e78e5d880b8f7aadb68 | |
parent | 0c1f6a1a5db1033c323c65b86db98a058ebabd74 (diff) | |
download | chromium_src-3cd37bc0010fe8f08bce40a3caac4836b0e3a7d3.zip chromium_src-3cd37bc0010fe8f08bce40a3caac4836b0e3a7d3.tar.gz chromium_src-3cd37bc0010fe8f08bce40a3caac4836b0e3a7d3.tar.bz2 |
Remove references to SkAdvancedTypefaceMetrics::kNotEmbeddable_Font
First part of a two sided change. kNotEmbeddable_Font is going away in favor of an explicit flag to represent it. This change preserves existing functionality/operation and just changes the constant being used.
BUG=NONE
Review URL: https://codereview.chromium.org/105433003
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@239546 0039d316-1c4b-4281-b951-d872f2087c98
-rw-r--r-- | printing/pdf_metafile_skia.cc | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/printing/pdf_metafile_skia.cc b/printing/pdf_metafile_skia.cc index 57e635a..b386cf9 100644 --- a/printing/pdf_metafile_skia.cc +++ b/printing/pdf_metafile_skia.cc @@ -96,15 +96,15 @@ bool PdfMetafileSkia::FinishDocument() { data_->current_page_.clear(); - int font_counts[SkAdvancedTypefaceMetrics::kNotEmbeddable_Font + 1]; + int font_counts[SkAdvancedTypefaceMetrics::kOther_Font + 2]; data_->pdf_doc_.getCountOfFontTypes(font_counts); for (int type = 0; - type <= SkAdvancedTypefaceMetrics::kNotEmbeddable_Font; + type <= SkAdvancedTypefaceMetrics::kOther_Font + 1; type++) { for (int count = 0; count < font_counts[type]; count++) { UMA_HISTOGRAM_ENUMERATION( "PrintPreview.FontType", type, - SkAdvancedTypefaceMetrics::kNotEmbeddable_Font + 1); + SkAdvancedTypefaceMetrics::kOther_Font + 2); } } |