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

Issue 26799003: Fix double ref issue in SkPDFFont ctor (Closed)

Created:
7 years, 2 months ago by robertphillips
Modified:
7 years, 2 months ago
Reviewers:
edisonn
CC:
skia-review_googlegroups.com
Visibility:
Public.

Description

render_pdfs was leaking SkTypeface's because SkPDFFont was double reffing them in its ctor. ref_or_default already takes a ref on the typeface in the initialization list.

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+0 lines, -1 line) Patch
M src/pdf/SkPDFFont.cpp View 1 chunk +0 lines, -1 line 0 comments Download

Messages

Total messages: 3 (0 generated)
robertphillips
7 years, 2 months ago (2013-10-11 14:23:16 UTC) #1
edisonn
LGTM
7 years, 2 months ago (2013-10-11 14:25:01 UTC) #2
robertphillips
7 years, 2 months ago (2013-10-11 14:27:32 UTC) #3
Message was sent while issue was closed.
committed as r11724

Powered by Google App Engine
This is Rietveld 408576698