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

Issue 1069103003: SkPDF: Refactor SkPDFObject heiararchy. (Closed)

Created:
5 years, 8 months ago by hal.canary
Modified:
5 years, 8 months ago
Reviewers:
tomhudson
CC:
reviews_skia.org
Base URL:
https://skia.googlesource.com/skia.git@master
Target Ref:
refs/heads/master
Project:
skia
Visibility:
Public.

Description

SkPDF: Refactor SkPDFObject heiararchy. Flatten and use a tagged union type Δmemory ~= -2.4% ± 0.5% Δtime ~= -1.2% ± 0.2% BUG=skia:3585 Committed: https://skia.googlesource.com/skia/+/130444fdaf737c5931a934018ab50b0c91a3499e

Patch Set 1 #

Patch Set 2 : 2015-04-23 (Thursday) 15:25:28 EDT #

Patch Set 3 : 2015-04-23 (Thursday) 17:00:36 EDT #

Patch Set 4 : 2015-04-23 (Thursday) 17:02:33 EDT #

Total comments: 12

Patch Set 5 : 2015-04-25 (Saturday) 09:40:48 EDT #

Unified diffs Side-by-side diffs Delta from patch set Stats (+580 lines, -420 lines) Patch
M src/doc/SkDocument_PDF.cpp View 1 3 chunks +3 lines, -7 lines 0 comments Download
M src/pdf/SkPDFDevice.cpp View 1 2 3 5 chunks +10 lines, -13 lines 0 comments Download
M src/pdf/SkPDFFont.cpp View 1 1 chunk +2 lines, -4 lines 0 comments Download
M src/pdf/SkPDFResourceDict.cpp View 1 3 chunks +5 lines, -8 lines 0 comments Download
M src/pdf/SkPDFTypes.h View 1 2 3 4 9 chunks +210 lines, -212 lines 0 comments Download
M src/pdf/SkPDFTypes.cpp View 1 2 3 4 6 chunks +340 lines, -168 lines 0 comments Download
M tests/PDFPrimitivesTest.cpp View 1 2 chunks +10 lines, -8 lines 0 comments Download

Messages

Total messages: 18 (8 generated)
commit-bot: I haz the power
Dry run: COMMIT=false is deprecated please use the dry run button instead.
5 years, 8 months ago (2015-04-23 19:26:02 UTC) #3
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1069103003/20001
5 years, 8 months ago (2015-04-23 20:48:20 UTC) #5
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
5 years, 8 months ago (2015-04-23 20:53:33 UTC) #7
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1069103003/40001
5 years, 8 months ago (2015-04-23 21:00:59 UTC) #9
hal.canary
PTAL
5 years, 8 months ago (2015-04-23 21:01:04 UTC) #11
tomhudson
lgtm https://codereview.chromium.org/1069103003/diff/60001/src/pdf/SkPDFTypes.cpp File src/pdf/SkPDFTypes.cpp (left): https://codereview.chromium.org/1069103003/diff/60001/src/pdf/SkPDFTypes.cpp#oldcode236 src/pdf/SkPDFTypes.cpp:236: SkASSERT(substitutes.getSubstitute(fValue[i]) == fValue[i]); Not worth maintaining this invariant? ...
5 years, 8 months ago (2015-04-24 21:32:30 UTC) #12
hal.canary
https://codereview.chromium.org/1069103003/diff/60001/src/pdf/SkPDFTypes.cpp File src/pdf/SkPDFTypes.cpp (right): https://codereview.chromium.org/1069103003/diff/60001/src/pdf/SkPDFTypes.cpp#newcode43 src/pdf/SkPDFTypes.cpp:43: if (this != &other) { On 2015/04/24 21:32:29, tomhudson ...
5 years, 8 months ago (2015-04-24 21:51:46 UTC) #13
hal.canary
https://codereview.chromium.org/1069103003/diff/60001/src/pdf/SkPDFTypes.cpp File src/pdf/SkPDFTypes.cpp (left): https://codereview.chromium.org/1069103003/diff/60001/src/pdf/SkPDFTypes.cpp#oldcode236 src/pdf/SkPDFTypes.cpp:236: SkASSERT(substitutes.getSubstitute(fValue[i]) == fValue[i]); Only top level objects (referred to ...
5 years, 8 months ago (2015-04-25 13:41:02 UTC) #14
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1069103003/80001
5 years, 8 months ago (2015-04-25 13:41:31 UTC) #17
commit-bot: I haz the power
5 years, 8 months ago (2015-04-25 13:45:13 UTC) #18
Message was sent while issue was closed.
Committed patchset #5 (id:80001) as
https://skia.googlesource.com/skia/+/130444fdaf737c5931a934018ab50b0c91a3499e

Powered by Google App Engine
This is Rietveld 408576698