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

Issue 1773033002: SkPDF: use sk_make_sp<T> when it makes sense. (Closed)

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

Description

Patch Set 1 : 2016-03-07 (Monday) 20:36:11 EST #

Total comments: 6

Patch Set 2 : 2016-03-08 (Tuesday) 06:54:33 EST #

Unified diffs Side-by-side diffs Delta from patch set Stats (+44 lines, -46 lines) Patch
M src/doc/SkDocument_PDF.cpp View 5 chunks +8 lines, -8 lines 0 comments Download
M src/pdf/SkPDFDevice.cpp View 5 chunks +7 lines, -7 lines 0 comments Download
M src/pdf/SkPDFFont.cpp View 9 chunks +13 lines, -13 lines 0 comments Download
M src/pdf/SkPDFFormXObject.cpp View 1 chunk +1 line, -1 line 0 comments Download
M src/pdf/SkPDFGraphicState.cpp View 5 chunks +5 lines, -5 lines 0 comments Download
M src/pdf/SkPDFMetadata.cpp View 2 chunks +2 lines, -2 lines 0 comments Download
M src/pdf/SkPDFResourceDict.cpp View 2 chunks +3 lines, -3 lines 0 comments Download
M src/pdf/SkPDFShader.h View 1 1 chunk +0 lines, -2 lines 0 comments Download
M src/pdf/SkPDFShader.cpp View 1 3 chunks +4 lines, -4 lines 0 comments Download
M src/pdf/SkPDFTypes.h View 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 29 (14 generated)
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1773033002/1 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1773033002/1
4 years, 9 months ago (2016-03-08 01:29:00 UTC) #4
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: Build-Mac-Clang-x86_64-Release-Trybot on client.skia.compile (JOB_FAILED, http://build.chromium.org/p/client.skia.compile/builders/Build-Mac-Clang-x86_64-Release-Trybot/builds/986)
4 years, 9 months ago (2016-03-08 01:30:30 UTC) #6
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1773033002/20001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1773033002/20001
4 years, 9 months ago (2016-03-08 01:36:27 UTC) #9
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
4 years, 9 months ago (2016-03-08 01:49:51 UTC) #12
hal.canary
ptal
4 years, 9 months ago (2016-03-08 01:52:59 UTC) #14
bungeman-skia
https://codereview.chromium.org/1773033002/diff/20001/src/pdf/SkPDFShader.cpp File src/pdf/SkPDFShader.cpp (right): https://codereview.chromium.org/1773033002/diff/20001/src/pdf/SkPDFShader.cpp#newcode811 src/pdf/SkPDFShader.cpp:811: auto pdfFunctionShader = sk_make_sp<SkPDFFunctionShader>(autoState->detach()); This appears to be the ...
4 years, 9 months ago (2016-03-08 02:20:36 UTC) #15
reed1
https://codereview.chromium.org/1773033002/diff/20001/src/pdf/SkPDFDevice.cpp File src/pdf/SkPDFDevice.cpp (right): https://codereview.chromium.org/1773033002/diff/20001/src/pdf/SkPDFDevice.cpp#newcode899 src/pdf/SkPDFDevice.cpp:899: annotation->insertObject("Rect", rect.release()); The PDF code seems to require calling ...
4 years, 9 months ago (2016-03-08 03:00:04 UTC) #17
hal.canary
On 2016/03/08 03:00:04, reed1 wrote: > https://codereview.chromium.org/1773033002/diff/20001/src/pdf/SkPDFDevice.cpp > File src/pdf/SkPDFDevice.cpp (right): > > https://codereview.chromium.org/1773033002/diff/20001/src/pdf/SkPDFDevice.cpp#newcode899 > ...
4 years, 9 months ago (2016-03-08 03:08:51 UTC) #18
bungeman-skia
https://codereview.chromium.org/1773033002/diff/20001/src/pdf/SkPDFShader.h File src/pdf/SkPDFShader.h (right): https://codereview.chromium.org/1773033002/diff/20001/src/pdf/SkPDFShader.h#newcode57 src/pdf/SkPDFShader.h:57: SkPDFFunctionShader(SkPDFShader::State*); On 2016/03/08 02:20:36, bungeman1 wrote: > eh, I ...
4 years, 9 months ago (2016-03-08 03:27:21 UTC) #19
hal.canary
let's land this at patchset 2. https://codereview.chromium.org/1773033002/diff/20001/src/pdf/SkPDFShader.cpp File src/pdf/SkPDFShader.cpp (right): https://codereview.chromium.org/1773033002/diff/20001/src/pdf/SkPDFShader.cpp#newcode811 src/pdf/SkPDFShader.cpp:811: auto pdfFunctionShader = ...
4 years, 9 months ago (2016-03-08 11:58:48 UTC) #20
bungeman-skia
lgtm
4 years, 9 months ago (2016-03-08 15:29:29 UTC) #21
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1773033002/40001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1773033002/40001
4 years, 9 months ago (2016-03-08 15:36:21 UTC) #23
commit-bot: I haz the power
Try jobs failed on following builders: Test-Ubuntu-GCC-GCE-CPU-AVX2-x86_64-Debug-Trybot on client.skia (JOB_FAILED, http://build.chromium.org/p/client.skia/builders/Test-Ubuntu-GCC-GCE-CPU-AVX2-x86_64-Debug-Trybot/builds/6874) Test-Ubuntu-GCC-GCE-CPU-AVX2-x86_64-Release-Shared-Trybot on client.skia (JOB_FAILED, ...
4 years, 9 months ago (2016-03-08 15:37:55 UTC) #25
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1773033002/40001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1773033002/40001
4 years, 9 months ago (2016-03-08 16:15:00 UTC) #27
commit-bot: I haz the power
4 years, 9 months ago (2016-03-08 16:32:16 UTC) #29
Message was sent while issue was closed.
Committed patchset #2 (id:40001) as
https://skia.googlesource.com/skia/+/ece83924384b2e9e8cd422324c44797deb99ec90

Powered by Google App Engine
This is Rietveld 408576698