Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(201)

Issue 4080056: [PDF] Change SkPDFFormXObject to not hold a reference to device. (Closed)

Can't Edit
Can't Publish+Mail
Start Review
Created:
13 years, 10 months ago by Steve VanDeBogart
Modified:
13 years, 10 months ago
Reviewers:
reed1
CC:
skia-review_googlegroups.com
Base URL:
http://skia.googlecode.com/svn/trunk
Visibility:
Public.

Description

[PDF] Change SkPDFFormXObject to not hold a reference to device. This prevents two copies of the content stream from sticking around. It also fixes an invalid memory reference because SkCanvas::internalRestore deletes the device (maybe it should just unref) after drawing it onto the main device. Committed: http://code.google.com/p/skia/source/detail?r=773

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+18 lines, -9 lines) Patch
M include/pdf/SkPDFFormXObject.h View 1 chunk +1 line, -2 lines 0 comments Download
M src/pdf/SkPDFFormXObject.cpp View 3 chunks +17 lines, -7 lines 0 comments Download

Messages

Total messages: 4
Steve VanDeBogart
13 years, 10 months ago (2011-02-04 02:10:31 UTC) #1
reed1
I think you're right -- there's no reason Canvas needs to delete the device in ...
13 years, 10 months ago (2011-02-04 11:05:30 UTC) #2
Steve VanDeBogart
On 2011/02/04 11:05:30, reed1 wrote: > I think you're right -- there's no reason Canvas ...
13 years, 10 months ago (2011-02-04 17:55:30 UTC) #3
reed1
13 years, 10 months ago (2011-02-07 15:12:29 UTC) #4
LGTM
Sign in to reply to this message.

Powered by Google App Engine
RSS Feeds Recent Issues | This issue
This is Rietveld f62528b