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

Issue 1062043003: cc: Add ResourceId validation checks at the time of AppendQuads. (Closed)

Created:
5 years, 8 months ago by danakj
Modified:
5 years, 8 months ago
CC:
chromium-reviews, feature-media-reviews_chromium.org, cc-bugs_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

cc: Add ResourceId validation checks at the time of AppendQuads. This will help us track down how an invalid resource is ending up in the frame hopefully. R=enne, piman@chromium.org BUG=455931 Committed: https://crrev.com/26bcd452dc068c3bee6f2b5b31b10cab2076137b Cr-Commit-Position: refs/heads/master@{#324103}

Patch Set 1 #

Total comments: 2

Patch Set 2 : resource-validate: todo #

Patch Set 3 : resource-validate: fixtests #

Unified diffs Side-by-side diffs Delta from patch set Stats (+105 lines, -12 lines) Patch
M cc/layers/delegated_renderer_layer_impl.cc View 2 chunks +12 lines, -0 lines 0 comments Download
M cc/layers/heads_up_display_layer_impl.cc View 1 chunk +3 lines, -0 lines 0 comments Download
M cc/layers/io_surface_layer_impl.cc View 1 chunk +3 lines, -0 lines 0 comments Download
M cc/layers/io_surface_layer_impl_unittest.cc View 1 2 1 chunk +4 lines, -0 lines 0 comments Download
M cc/layers/nine_patch_layer_impl.cc View 1 chunk +3 lines, -0 lines 0 comments Download
M cc/layers/nine_patch_layer_impl_unittest.cc View 1 2 2 chunks +3 lines, -0 lines 0 comments Download
M cc/layers/painted_scrollbar_layer_impl.cc View 2 chunks +4 lines, -0 lines 0 comments Download
M cc/layers/picture_layer_impl.cc View 1 chunk +3 lines, -0 lines 0 comments Download
M cc/layers/texture_layer_impl.cc View 1 chunk +2 lines, -0 lines 0 comments Download
M cc/layers/tiled_layer_impl.cc View 2 chunks +4 lines, -0 lines 0 comments Download
M cc/layers/tiled_layer_impl_unittest.cc View 1 2 4 chunks +18 lines, -7 lines 0 comments Download
M cc/layers/ui_resource_layer_impl.cc View 1 chunk +3 lines, -0 lines 0 comments Download
M cc/layers/ui_resource_layer_impl_unittest.cc View 1 2 4 chunks +5 lines, -0 lines 0 comments Download
M cc/layers/video_layer_impl.cc View 5 chunks +23 lines, -0 lines 0 comments Download
M cc/resources/resource_provider.h View 1 chunk +2 lines, -0 lines 0 comments Download
M cc/resources/resource_provider.cc View 1 2 chunks +8 lines, -1 line 0 comments Download
M cc/test/fake_ui_resource_layer_tree_host_impl.h View 1 2 1 chunk +0 lines, -1 line 0 comments Download
M cc/test/fake_ui_resource_layer_tree_host_impl.cc View 1 2 2 chunks +5 lines, -3 lines 0 comments Download

Messages

Total messages: 17 (6 generated)
danakj
What do you think?
5 years, 8 months ago (2015-04-06 23:42:39 UTC) #1
piman
lgtm https://codereview.chromium.org/1062043003/diff/1/cc/resources/resource_provider.cc File cc/resources/resource_provider.cc (right): https://codereview.chromium.org/1062043003/diff/1/cc/resources/resource_provider.cc#newcode2141 cc/resources/resource_provider.cc:2141: CHECK(it != resources_.end()); nit: all that is essentially ...
5 years, 8 months ago (2015-04-07 00:13:40 UTC) #2
danakj
https://codereview.chromium.org/1062043003/diff/1/cc/resources/resource_provider.cc File cc/resources/resource_provider.cc (right): https://codereview.chromium.org/1062043003/diff/1/cc/resources/resource_provider.cc#newcode2141 cc/resources/resource_provider.cc:2141: CHECK(it != resources_.end()); On 2015/04/07 00:13:39, piman (Very slow ...
5 years, 8 months ago (2015-04-07 00:15:00 UTC) #3
piman
On Mon, Apr 6, 2015 at 5:15 PM, <danakj@chromium.org> wrote: > > https://codereview.chromium.org/1062043003/diff/1/cc/ > resources/resource_provider.cc ...
5 years, 8 months ago (2015-04-07 00:17:13 UTC) #4
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1062043003/20001
5 years, 8 months ago (2015-04-07 02:15:57 UTC) #7
commit-bot: I haz the power
Try jobs failed on following builders: linux_chromium_rel_ng on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_rel_ng/builds/51337)
5 years, 8 months ago (2015-04-07 03:52:05 UTC) #9
danakj
Had to fix a number of unit tests that were inventing their own resource ids ...
5 years, 8 months ago (2015-04-07 18:41:10 UTC) #10
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1062043003/40001
5 years, 8 months ago (2015-04-07 18:44:34 UTC) #13
commit-bot: I haz the power
Committed patchset #3 (id:40001)
5 years, 8 months ago (2015-04-07 20:14:58 UTC) #14
commit-bot: I haz the power
Patchset 3 (id:??) landed as https://crrev.com/26bcd452dc068c3bee6f2b5b31b10cab2076137b Cr-Commit-Position: refs/heads/master@{#324103}
5 years, 8 months ago (2015-04-07 20:15:53 UTC) #15
kouhei (in TOK)
5 years, 8 months ago (2015-04-08 17:49:42 UTC) #17
Message was sent while issue was closed.
Suspecting this CL as cause of http://crbug.com/475099 . Would you take a look?

Powered by Google App Engine
This is Rietveld 408576698