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

Issue 2721041: Several cleanups: (Closed)

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

Description

Several cleanups: Fix the spelling of resource in several places Make getResouce(resourceList) part of SkPDFObject make SkDynamicMemoryWStream::getOffset and SkPDFPage::getMediaBox const Add a temporary NOT_IMPLEMENTED macro instead of using SkASSERT Committed: http://code.google.com/p/skia/source/detail?r=619

Patch Set 1 #

Total comments: 4

Patch Set 2 : Address comments #

Unified diffs Side-by-side diffs Delta from patch set Stats (+92 lines, -72 lines) Patch
M include/core/SkStream.h View 1 chunk +1 line, -1 line 0 comments Download
M include/pdf/SkPDFDevice.h View 3 chunks +7 lines, -4 lines 0 comments Download
M include/pdf/SkPDFDocument.h View 1 chunk +1 line, -1 line 0 comments Download
M include/pdf/SkPDFPage.h View 1 chunk +5 lines, -5 lines 0 comments Download
M include/pdf/SkPDFTypes.h View 1 chunk +9 lines, -0 lines 0 comments Download
M src/pdf/SkPDFDevice.cpp View 1 9 chunks +49 lines, -43 lines 0 comments Download
M src/pdf/SkPDFDocument.cpp View 6 chunks +17 lines, -17 lines 0 comments Download
M src/pdf/SkPDFPage.cpp View 1 chunk +1 line, -1 line 0 comments Download
M src/pdf/SkPDFTypes.cpp View 1 chunk +2 lines, -0 lines 0 comments Download

Messages

Total messages: 3
Steve VanDeBogart
14 years, 2 months ago (2010-10-25 23:07:45 UTC) #1
agl
LGTM, but do read the comments. http://codereview.appspot.com/2721041/diff/1/src/pdf/SkPDFDevice.cpp File src/pdf/SkPDFDevice.cpp (right): http://codereview.appspot.com/2721041/diff/1/src/pdf/SkPDFDevice.cpp#newcode32 src/pdf/SkPDFDevice.cpp:32: fprintf(stderr, "!!!!! " ...
14 years, 2 months ago (2010-10-26 01:36:40 UTC) #2
Steve VanDeBogart
14 years, 2 months ago (2010-10-26 18:28:42 UTC) #3
Thanks

http://codereview.appspot.com/2721041/diff/1/src/pdf/SkPDFDevice.cpp
File src/pdf/SkPDFDevice.cpp (right):

http://codereview.appspot.com/2721041/diff/1/src/pdf/SkPDFDevice.cpp#newcode32
src/pdf/SkPDFDevice.cpp:32: fprintf(stderr, "!!!!! " #condition "\n");  \
On 2010/10/26 01:36:40, agl wrote:
> Rather than "!!!!!", I would have "NOTIMPLEMENTED: " or something.

Done.

http://codereview.appspot.com/2721041/diff/1/src/pdf/SkPDFDevice.cpp#newcode210
src/pdf/SkPDFDevice.cpp:210: NOT_IMPLEMENTED("drawText" == NULL, true);
On 2010/10/26 01:36:40, agl wrote:
> I'm not sure how these are supposed to work. "drawText" == NULL is always
false,
> so the macro does nothing. That seems wrong.

Indeed.  Fixed.
Sign in to reply to this message.

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