summaryrefslogtreecommitdiffstats
path: root/printing/pdf_metafile_skia.cc
diff options
context:
space:
mode:
authorvandebo@chromium.org <vandebo@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-03-28 23:39:09 +0000
committervandebo@chromium.org <vandebo@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-03-28 23:39:09 +0000
commite85465c9d889b15405a94377a6471e5cad84aa09 (patch)
tree3fc7d7a85fd29fb52b476e0d1b5a309ec6f0f251 /printing/pdf_metafile_skia.cc
parent4762e790d9e15a01adce7223ffa448dfa4575e9f (diff)
downloadchromium_src-e85465c9d889b15405a94377a6471e5cad84aa09.zip
chromium_src-e85465c9d889b15405a94377a6471e5cad84aa09.tar.gz
chromium_src-e85465c9d889b15405a94377a6471e5cad84aa09.tar.bz2
Remove workaround for fixed skia bug.
Bug was fixed in skia r3499, which we've now rolled past. BUG=NONE TEST=NONE Review URL: http://codereview.chromium.org/9858031 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@129523 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'printing/pdf_metafile_skia.cc')
-rw-r--r--printing/pdf_metafile_skia.cc2
1 files changed, 0 insertions, 2 deletions
diff --git a/printing/pdf_metafile_skia.cc b/printing/pdf_metafile_skia.cc
index ac06695..fdff44f 100644
--- a/printing/pdf_metafile_skia.cc
+++ b/printing/pdf_metafile_skia.cc
@@ -95,8 +95,6 @@ bool PdfMetafileSkia::FinishDocument() {
data_->current_page_ = NULL;
int font_counts[SkAdvancedTypefaceMetrics::kNotEmbeddable_Font + 1];
- // Work around bug in skia for the moment.
- memset(font_counts, 0, sizeof(font_counts));
data_->pdf_doc_.getCountOfFontTypes(font_counts);
for (int type = 0;
type <= SkAdvancedTypefaceMetrics::kNotEmbeddable_Font;