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

Issue 1910663002: Fix ImageUploadTaskImpl with null dependencies. (Closed)

Created:
4 years, 8 months ago by ericrk
Modified:
4 years, 8 months ago
Reviewers:
vmpstr, prashant.n
CC:
chromium-reviews, cc-bugs_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@skskp
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Fix ImageUploadTaskImpl with null dependencies. We were adding empty TileTasks to a vector, which led to a null dereference later. We should have only been adding non-null values. BUG=605193 CQ_INCLUDE_TRYBOTS=tryserver.blink:linux_blink_rel Committed: https://crrev.com/1535bf509aed790aaf00d9a00754978275e04f95 Cr-Commit-Position: refs/heads/master@{#389341}

Patch Set 1 #

Patch Set 2 : #

Total comments: 2

Patch Set 3 : feedback #

Total comments: 4

Patch Set 4 : rebase #

Patch Set 5 : sk_sp rebase #

Unified diffs Side-by-side diffs Delta from patch set Stats (+99 lines, -2 lines) Patch
M cc/tiles/gpu_image_decode_controller.cc View 1 2 3 1 chunk +4 lines, -1 line 0 comments Download
M cc/tiles/gpu_image_decode_controller_unittest.cc View 1 2 3 4 1 chunk +95 lines, -1 line 0 comments Download

Messages

Total messages: 36 (17 generated)
ericrk
4 years, 8 months ago (2016-04-20 21:54:49 UTC) #3
vmpstr
lgtm https://codereview.chromium.org/1910663002/diff/20001/cc/tiles/gpu_image_decode_controller.cc File cc/tiles/gpu_image_decode_controller.cc (right): https://codereview.chromium.org/1910663002/diff/20001/cc/tiles/gpu_image_decode_controller.cc#newcode113 cc/tiles/gpu_image_decode_controller.cc:113: if (decode_dependency) { nit: no braces Also, the ...
4 years, 8 months ago (2016-04-20 22:26:44 UTC) #4
ericrk
https://codereview.chromium.org/1910663002/diff/20001/cc/tiles/gpu_image_decode_controller.cc File cc/tiles/gpu_image_decode_controller.cc (right): https://codereview.chromium.org/1910663002/diff/20001/cc/tiles/gpu_image_decode_controller.cc#newcode113 cc/tiles/gpu_image_decode_controller.cc:113: if (decode_dependency) { On 2016/04/20 22:26:44, vmpstr wrote: > ...
4 years, 8 months ago (2016-04-20 22:34:45 UTC) #6
ericrk
4 years, 8 months ago (2016-04-20 22:34:45 UTC) #7
commit-bot: I haz the power
This CL has an open dependency (Issue 1900953004 Patch 120001). Please resolve the dependency and ...
4 years, 8 months ago (2016-04-21 17:47:24 UTC) #13
prashant.n
lgtm Add DCHECK in tile manager. Lgtm once you check the comments. https://codereview.chromium.org/1910663002/diff/60001/cc/tiles/gpu_image_decode_controller.cc File cc/tiles/gpu_image_decode_controller.cc ...
4 years, 8 months ago (2016-04-21 21:57:52 UTC) #15
ericrk
https://codereview.chromium.org/1910663002/diff/60001/cc/tiles/gpu_image_decode_controller.cc File cc/tiles/gpu_image_decode_controller.cc (right): https://codereview.chromium.org/1910663002/diff/60001/cc/tiles/gpu_image_decode_controller.cc#newcode115 cc/tiles/gpu_image_decode_controller.cc:115: if (decode_dependency) On 2016/04/21 21:57:51, prashant.n wrote: > Add ...
4 years, 8 months ago (2016-04-21 23:06:39 UTC) #17
commit-bot: I haz the power
This CL has an open dependency (Issue 1900953004 Patch 120001). Please resolve the dependency and ...
4 years, 8 months ago (2016-04-21 23:07:06 UTC) #19
prashant.n
> We actually still need the upload task. In this case, we have a decode ...
4 years, 8 months ago (2016-04-22 03:17:13 UTC) #20
prashant.n
From code it looks like, we don't create any orphaned decode tasks.
4 years, 8 months ago (2016-04-22 12:37:42 UTC) #21
prashant.n
On 2016/04/22 12:37:42, prashant.n wrote: > From code it looks like, we don't create any ...
4 years, 8 months ago (2016-04-22 16:23:22 UTC) #22
prashant.n
> (the upload, but not the decode, was cancelled in a previous iteration). One query, ...
4 years, 8 months ago (2016-04-22 16:28:40 UTC) #23
ericrk
On 2016/04/22 16:28:40, prashant.n wrote: > > (the upload, but not the decode, was cancelled ...
4 years, 8 months ago (2016-04-22 22:06:50 UTC) #24
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1910663002/80001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1910663002/80001
4 years, 8 months ago (2016-04-22 22:23:12 UTC) #27
commit-bot: I haz the power
Try jobs failed on following builders: mac_chromium_compile_dbg_ng on tryserver.chromium.mac (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.mac/builders/mac_chromium_compile_dbg_ng/builds/192904)
4 years, 8 months ago (2016-04-22 22:38:05 UTC) #29
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1910663002/100001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1910663002/100001
4 years, 8 months ago (2016-04-23 00:12:02 UTC) #32
commit-bot: I haz the power
Committed patchset #5 (id:100001)
4 years, 8 months ago (2016-04-23 01:55:56 UTC) #33
commit-bot: I haz the power
Patchset 5 (id:??) landed as https://crrev.com/1535bf509aed790aaf00d9a00754978275e04f95 Cr-Commit-Position: refs/heads/master@{#389341}
4 years, 8 months ago (2016-04-23 01:57:09 UTC) #35
prashant.n
4 years, 8 months ago (2016-04-23 04:21:54 UTC) #36
Message was sent while issue was closed.
> If an upload task is not cancelled, we should find and return the existing
task.

Yes.

Powered by Google App Engine
This is Rietveld 408576698