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

Issue 19954011: Fix Clang build on SkPDFResourceDict (CL 18977002) (Closed)

Created:
7 years, 5 months ago by ducky
Modified:
7 years, 5 months ago
CC:
skia-review_googlegroups.com, robertphillips
Visibility:
Public.

Description

Fix Clang build on SkPDFResourceDict (CL 18977002) Committed: http://code.google.com/p/skia/source/detail?r=10295

Patch Set 1 #

Patch Set 2 : Change SkPDFResourceDict::getResources to getRefResources #

Total comments: 2

Patch Set 3 : Renaming #

Total comments: 2

Patch Set 4 : Fix style #

Unified diffs Side-by-side diffs Delta from patch set Stats (+279 lines, -125 lines) Patch
M gyp/pdf.gyp View 1 2 1 chunk +2 lines, -0 lines 0 comments Download
M include/pdf/SkPDFDevice.h View 3 chunks +3 lines, -18 lines 0 comments Download
M src/pdf/SkPDFDevice.cpp View 1 2 4 chunks +26 lines, -97 lines 0 comments Download
M src/pdf/SkPDFFormXObject.cpp View 1 2 3 chunks +4 lines, -2 lines 0 comments Download
M src/pdf/SkPDFPage.cpp View 1 2 3 3 chunks +6 lines, -2 lines 0 comments Download
A src/pdf/SkPDFResourceDict.h View 1 2 1 chunk +100 lines, -0 lines 0 comments Download
A src/pdf/SkPDFResourceDict.cpp View 1 2 1 chunk +125 lines, -0 lines 0 comments Download
M src/pdf/SkPDFShader.cpp View 1 2 3 chunks +4 lines, -2 lines 0 comments Download
M src/pdf/SkPDFUtils.cpp View 2 chunks +9 lines, -4 lines 0 comments Download

Messages

Total messages: 10 (0 generated)
ducky
Previous CL, which was reverted: https://codereview.chromium.org/18977002
7 years, 5 months ago (2013-07-22 19:22:04 UTC) #1
vandebo (ex-Chrome)
https://codereview.chromium.org/19954011/diff/1010/src/pdf/SkPDFResourceDict.h File src/pdf/SkPDFResourceDict.h (right): https://codereview.chromium.org/19954011/diff/1010/src/pdf/SkPDFResourceDict.h#newcode66 src/pdf/SkPDFResourceDict.h:66: void getRefResources( nit: I can't think of a good ...
7 years, 5 months ago (2013-07-23 19:49:29 UTC) #2
ducky
Renamed to getReferencedResources. Also changed insertResourceAsRef to insertResourceAsReference, for consistency. https://codereview.chromium.org/19954011/diff/1010/src/pdf/SkPDFResourceDict.h File src/pdf/SkPDFResourceDict.h (right): https://codereview.chromium.org/19954011/diff/1010/src/pdf/SkPDFResourceDict.h#newcode66 ...
7 years, 5 months ago (2013-07-23 20:31:27 UTC) #3
vandebo (ex-Chrome)
LGTM after nits. https://codereview.chromium.org/19954011/diff/127001/src/pdf/SkPDFPage.cpp File src/pdf/SkPDFPage.cpp (right): https://codereview.chromium.org/19954011/diff/127001/src/pdf/SkPDFPage.cpp#newcode44 src/pdf/SkPDFPage.cpp:44: resourceDict->getReferencedResources(knownResourceObjects, newResourceObjects, nit: 80 col https://codereview.chromium.org/19954011/diff/127001/src/pdf/SkPDFPage.cpp#newcode45 ...
7 years, 5 months ago (2013-07-23 20:33:39 UTC) #4
edisonn
LGTM
7 years, 5 months ago (2013-07-23 20:36:54 UTC) #5
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://skia-tree-status.appspot.com/cq/richardlin@chromium.org/19954011/17002
7 years, 5 months ago (2013-07-23 21:14:51 UTC) #6
commit-bot: I haz the power
Change committed as 10295
7 years, 5 months ago (2013-07-23 21:49:35 UTC) #7
fmalita_google_do_not_use
On 2013/07/23 21:49:35, I haz the power (commit-bot) wrote: > Change committed as 10295 Looks ...
7 years, 5 months ago (2013-07-23 22:18:27 UTC) #8
fmalita_google_do_not_use
I presume this should do it: --- a/skia/skia_library.gypi +++ b/skia/skia_library.gypi @@ -92,6 +92,8 @@ '../third_party/skia/src/pdf/SkPDFImageStream.h', ...
7 years, 5 months ago (2013-07-23 22:28:05 UTC) #9
fmalita_google_do_not_use
7 years, 5 months ago (2013-07-23 22:29:03 UTC) #10
Message was sent while issue was closed.
On 2013/07/23 22:28:05, fmalita wrote:
> I presume this should do it:
> 
> --- a/skia/skia_library.gypi
> +++ b/skia/skia_library.gypi
> @@ -92,6 +92,8 @@
>      '../third_party/skia/src/pdf/SkPDFImageStream.h',
>      '../third_party/skia/src/pdf/SkPDFPage.cpp',
>      '../third_party/skia/src/pdf/SkPDFPage.h',
> +    '../src/pdf/SkPDFResourceDict.cpp',
> +    '../src/pdf/SkPDFResourceDict.h',
>      '../third_party/skia/src/pdf/SkPDFShader.cpp',
>      '../third_party/skia/src/pdf/SkPDFShader.h',

(with paths prefixed accordingly).

Powered by Google App Engine
This is Rietveld 408576698