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

Issue 4515126: [PDF] Add helper class to manage ContentEntry set up and completion. (Closed)

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

Description

[PDF] Add helper class to manage ContentEntry set up and completion. This stack object helper class calls finishContentEntry when it goes out of scope, maintains the current content entry, and manages the dst form xobject when it is needed. This can be made cleaner by moving the guts of SkPDFDevice into a core object, which can expose setUp/finishContentEntry as public, but that is left as a todo. Committed: http://code.google.com/p/skia/source/detail?r=1409

Patch Set 1 #

Patch Set 2 : nits #

Total comments: 15

Patch Set 3 : Address comments #

Total comments: 3

Patch Set 4 : Address comments #

Unified diffs Side-by-side diffs Delta from patch set Stats (+213 lines, -186 lines) Patch
M include/pdf/SkPDFDevice.h View 1 2 3 6 chunks +21 lines, -17 lines 0 comments Download
M src/pdf/SkPDFDevice.cpp View 1 2 3 25 chunks +192 lines, -169 lines 0 comments Download

Messages

Total messages: 7
Steve VanDeBogart
13 years, 6 months ago (2011-05-23 06:20:04 UTC) #1
Chris Guillory
http://codereview.appspot.com/4515126/diff/2001/include/pdf/SkPDFDevice.h File include/pdf/SkPDFDevice.h (right): http://codereview.appspot.com/4515126/diff/2001/include/pdf/SkPDFDevice.h#newcode40 include/pdf/SkPDFDevice.h:40: class ContentEntryAccessor; Nit: Place class before struct in sort ...
13 years, 6 months ago (2011-05-24 00:22:14 UTC) #2
Chris Guillory
Couple of additional comments. 1. Nit: In descrition helped -> helper. 2. How about changing ...
13 years, 6 months ago (2011-05-24 00:29:34 UTC) #3
Steve VanDeBogart
On 2011/05/24 00:29:34, Chris Guillory wrote: > Couple of additional comments. > > 1. Nit: ...
13 years, 6 months ago (2011-05-24 06:41:42 UTC) #4
Chris Guillory
LGTM > I'm not really happy with ContentEntryAccesor, but I think it's the most > ...
13 years, 6 months ago (2011-05-24 09:15:14 UTC) #5
Steve VanDeBogart
http://codereview.appspot.com/4515126/diff/2001/src/pdf/SkPDFDevice.cpp File src/pdf/SkPDFDevice.cpp (right): http://codereview.appspot.com/4515126/diff/2001/src/pdf/SkPDFDevice.cpp#newcode1407 src/pdf/SkPDFDevice.cpp:1407: SkWStream* content) { On 2011/05/24 09:15:14, Chris Guillory wrote: ...
13 years, 6 months ago (2011-05-24 17:14:51 UTC) #6
Chris Guillory
13 years, 5 months ago (2011-07-18 17:25:43 UTC) #7
Can you close this issue so it doesn't show up in the reviewable list.
Sign in to reply to this message.

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