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

Unified Diff: src/pdf/SkPDFFont.cpp

Issue 26799003: Fix double ref issue in SkPDFFont ctor (Closed) Base URL: http://skia.googlecode.com/svn/trunk/
Patch Set: Created 7 years, 2 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: src/pdf/SkPDFFont.cpp
===================================================================
--- src/pdf/SkPDFFont.cpp (revision 11723)
+++ src/pdf/SkPDFFont.cpp (working copy)
@@ -877,7 +877,6 @@
fLastGlyphID(info ? info->fLastGlyphID : 0),
fFontInfo(info),
fDescriptor(relatedFontDescriptor) {
- SkSafeRef(typeface);
SkSafeRef(info);
if (info == NULL) {
fFontType = 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