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

Issue 2379383002: Propagate validation errors (Closed)

Created:
4 years, 2 months ago by reed1
Modified:
4 years, 2 months ago
Reviewers:
robertphillips
CC:
reviews_skia.org
Target Ref:
refs/heads/master
Project:
skia
Visibility:
Public.

Description

Propagate validation errors from inner readbuffer when deserializing picture. Also allow null paints. BUG=skia:5812 GOLD_TRYBOT_URL= https://gold.skia.org/search?issue=2379383002 Committed: https://skia.googlesource.com/skia/+/d921dbb9b88327eef7b1fbd42e9d88bace4a65ff

Patch Set 1 #

Patch Set 2 : update test #

Patch Set 3 : fix spilling #

Total comments: 2

Patch Set 4 : remove if #

Patch Set 5 : check for null buffer #

Unified diffs Side-by-side diffs Delta from patch set Stats (+13 lines, -4 lines) Patch
M include/core/SkPicture.h View 1 1 chunk +1 line, -1 line 0 comments Download
M src/core/SkPicture.cpp View 1 1 chunk +1 line, -1 line 0 comments Download
M src/core/SkPictureData.h View 1 chunk +3 lines, -0 lines 0 comments Download
M src/core/SkPicturePlayback.h View 1 1 chunk +1 line, -1 line 0 comments Download
M src/core/SkPicturePlayback.cpp View 1 2 3 4 2 chunks +6 lines, -1 line 0 comments Download
M tests/SerializationTest.cpp View 1 1 chunk +1 line, -0 lines 0 comments Download

Messages

Total messages: 20 (13 generated)
reed1
4 years, 2 months ago (2016-09-30 15:31:49 UTC) #3
reed1
added bug
4 years, 2 months ago (2016-09-30 15:36:57 UTC) #8
reed1
updated test
4 years, 2 months ago (2016-09-30 15:56:34 UTC) #11
robertphillips
lgtm https://codereview.chromium.org/2379383002/diff/20002/src/core/SkPicturePlayback.cpp File src/core/SkPicturePlayback.cpp (right): https://codereview.chromium.org/2379383002/diff/20002/src/core/SkPicturePlayback.cpp#newcode118 src/core/SkPicturePlayback.cpp:118: // need to propagate invalid state to the ...
4 years, 2 months ago (2016-09-30 15:59:17 UTC) #13
reed1
https://codereview.chromium.org/2379383002/diff/20002/src/core/SkPicturePlayback.cpp File src/core/SkPicturePlayback.cpp (right): https://codereview.chromium.org/2379383002/diff/20002/src/core/SkPicturePlayback.cpp#newcode118 src/core/SkPicturePlayback.cpp:118: // need to propagate invalid state to the parent ...
4 years, 2 months ago (2016-09-30 16:04:13 UTC) #15
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2379383002/70001
4 years, 2 months ago (2016-09-30 16:06:25 UTC) #18
commit-bot: I haz the power
4 years, 2 months ago (2016-09-30 16:27:23 UTC) #20
Message was sent while issue was closed.
Committed patchset #5 (id:70001) as
https://skia.googlesource.com/skia/+/d921dbb9b88327eef7b1fbd42e9d88bace4a65ff

Powered by Google App Engine
This is Rietveld 408576698