Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1108)

Unified Diff: printing/pdf_metafile_skia.cc

Issue 9858031: Remove workaround for fixed skia bug. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebase Created 8 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: printing/pdf_metafile_skia.cc
diff --git a/printing/pdf_metafile_skia.cc b/printing/pdf_metafile_skia.cc
index ac066957cab8cf110c3a692e78db476752d740e9..fdff44f56cf80175944d2be42ebe2278853e4c57 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;
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698