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

Issue 23804004: [cc] Update UIResource test threading (Closed)

Created:
7 years, 3 months ago by ccameron
Modified:
7 years, 3 months ago
CC:
chromium-reviews, cc-bugs_chromium.org
Visibility:
Public.

Description

[cc] Update UIResource test threading Update UIResource tests to obey the restriction that ScopedUIResource create and destroy calls may only be made on the main thread. BUG=279438 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=222132

Patch Set 1 #

Patch Set 2 : Remove whitespace #

Total comments: 2

Patch Set 3 : Explicitly reference extra commits in context lost #

Patch Set 4 : Add missed comment #

Total comments: 4

Patch Set 5 : Incorporate review feedback #

Patch Set 6 : Consolidate common code #

Unified diffs Side-by-side diffs Delta from patch set Stats (+167 lines, -95 lines) Patch
M cc/trees/layer_tree_host_unittest_context.cc View 1 2 3 4 5 7 chunks +167 lines, -95 lines 0 comments Download

Messages

Total messages: 12 (0 generated)
ccameron
This change makes the tests follow the threading rules that the UI resources follow. This ...
7 years, 3 months ago (2013-09-07 08:02:03 UTC) #1
aelias_OOO_until_Jul13
https://codereview.chromium.org/23804004/diff/3001/cc/trees/layer_tree_host.cc File cc/trees/layer_tree_host.cc (right): https://codereview.chromium.org/23804004/diff/3001/cc/trees/layer_tree_host.cc#newcode1183 cc/trees/layer_tree_host.cc:1183: std::set<UIResourceId> already_recreated_resources; Hmm, I'm not wholly opposed to having ...
7 years, 3 months ago (2013-09-07 21:34:09 UTC) #2
ccameron
Thanks! I've removed that functionality and replaced it with a comment explaining what I was ...
7 years, 3 months ago (2013-09-08 01:54:33 UTC) #3
powei
On 2013/09/08 01:54:33, ccameron1 wrote: > Thanks! > > I've removed that functionality and replaced ...
7 years, 3 months ago (2013-09-08 04:48:44 UTC) #4
powei
https://codereview.chromium.org/23804004/diff/10001/cc/trees/layer_tree_host.cc File cc/trees/layer_tree_host.cc (right): https://codereview.chromium.org/23804004/diff/10001/cc/trees/layer_tree_host.cc#newcode8 cc/trees/layer_tree_host.cc:8: #include <set> probably not necessary anymore? https://codereview.chromium.org/23804004/diff/10001/cc/trees/layer_tree_host_unittest_context.cc File cc/trees/layer_tree_host_unittest_context.cc ...
7 years, 3 months ago (2013-09-08 04:49:13 UTC) #5
ccameron
Thanks!! > A little clarification for me though: the > extra commmit from single-thread proxy ...
7 years, 3 months ago (2013-09-08 21:08:24 UTC) #6
powei
On 2013/09/08 21:08:24, ccameron1 wrote: > Thanks!! > > > A little clarification for me ...
7 years, 3 months ago (2013-09-09 17:23:13 UTC) #7
ccameron
Thanks!
7 years, 3 months ago (2013-09-09 17:26:33 UTC) #8
aelias_OOO_until_Jul13
lgtm
7 years, 3 months ago (2013-09-09 20:12:27 UTC) #9
ccameron
Thanks!!
7 years, 3 months ago (2013-09-09 20:35:29 UTC) #10
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/ccameron@chromium.org/23804004/20001
7 years, 3 months ago (2013-09-09 20:36:03 UTC) #11
commit-bot: I haz the power
7 years, 3 months ago (2013-09-09 23:49:54 UTC) #12
Message was sent while issue was closed.
Change committed as 222132

Powered by Google App Engine
This is Rietveld 408576698