diff options
author | robertphillips@google.com <robertphillips@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> | 2013-10-11 14:27:16 +0000 |
---|---|---|
committer | robertphillips@google.com <robertphillips@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> | 2013-10-11 14:27:16 +0000 |
commit | 1f1b4aa06a4a8f3f98d30d0ae74a091b44e7feea (patch) | |
tree | 5c67a8c614ad6bf5442bc50423e092f704b7455b /src/pdf/SkPDFFont.cpp | |
parent | d33115d59b35a765bdcef277f644cc35bc237d8c (diff) |
Fix double ref issue in SkPDFFont ctor
https://codereview.chromium.org/26799003/
git-svn-id: http://skia.googlecode.com/svn/trunk@11724 2bbb7eff-a529-9590-31e7-b0007b416f81
Diffstat (limited to 'src/pdf/SkPDFFont.cpp')
-rw-r--r-- | src/pdf/SkPDFFont.cpp | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/src/pdf/SkPDFFont.cpp b/src/pdf/SkPDFFont.cpp index ed917db927..b824506b18 100644 --- a/src/pdf/SkPDFFont.cpp +++ b/src/pdf/SkPDFFont.cpp @@ -877,7 +877,6 @@ SkPDFFont::SkPDFFont(SkAdvancedTypefaceMetrics* info, SkTypeface* typeface, fLastGlyphID(info ? info->fLastGlyphID : 0), fFontInfo(info), fDescriptor(relatedFontDescriptor) { - SkSafeRef(typeface); SkSafeRef(info); if (info == NULL) { fFontType = SkAdvancedTypefaceMetrics::kNotEmbeddable_Font; |