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

Issue 14179022: Shouldn't access LayerTreeTest::layer_tree_host on impl thread (Closed)

Created:
7 years, 8 months ago by Ian Vollick
Modified:
7 years, 6 months ago
CC:
chromium-reviews, cc-bugs_chromium.org
Visibility:
Public.

Description

Shouldn't access LayerTreeTest::layer_tree_host on impl thread If the main thread is unblocked and we access this function on the impl thread, we're in a racy situation. This should be an error. BUG=235188 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=202942

Patch Set 1 #

Total comments: 1

Patch Set 2 : . #

Patch Set 3 : . #

Unified diffs Side-by-side diffs Delta from patch set Stats (+11 lines, -19 lines) Patch
M cc/test/layer_tree_test.h View 1 2 1 chunk +1 line, -1 line 0 comments Download
M cc/test/layer_tree_test.cc View 1 2 1 chunk +5 lines, -0 lines 0 comments Download
M cc/trees/layer_tree_host_unittest_animation.cc View 1 2 4 chunks +3 lines, -14 lines 0 comments Download
M cc/trees/single_thread_proxy.cc View 1 2 2 chunks +2 lines, -4 lines 0 comments Download

Messages

Total messages: 9 (0 generated)
Ian Vollick
7 years, 8 months ago (2013-04-25 20:53:47 UTC) #1
danakj
LGTM, thanks! https://codereview.chromium.org/14179022/diff/1/cc/trees/single_thread_proxy.cc File cc/trees/single_thread_proxy.cc (right): https://codereview.chromium.org/14179022/diff/1/cc/trees/single_thread_proxy.cc#newcode186 cc/trees/single_thread_proxy.cc:186: DebugScopedSetImplThreadAndMainThreadBlocked impl_and_main_blocked(this); nit: s/and/with/ (theyre not both ...
7 years, 8 months ago (2013-04-25 20:56:57 UTC) #2
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/vollick@chromium.org/14179022/3001
7 years, 8 months ago (2013-04-26 00:54:39 UTC) #3
commit-bot: I haz the power
Step "update" is always a major failure. Look at the try server FAQ for more ...
7 years, 8 months ago (2013-04-26 00:57:55 UTC) #4
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/vollick@chromium.org/14179022/3001
7 years, 7 months ago (2013-05-25 13:24:57 UTC) #5
commit-bot: I haz the power
Failed to apply patch for cc/test/layer_tree_test.h: While running patch -p1 --forward --force --no-backup-if-mismatch; patching file ...
7 years, 7 months ago (2013-05-25 13:24:58 UTC) #6
danakj
Looks like this just needs a rebase.
7 years, 6 months ago (2013-05-29 11:32:10 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/vollick@chromium.org/14179022/17001
7 years, 6 months ago (2013-05-29 17:23:16 UTC) #8
commit-bot: I haz the power
7 years, 6 months ago (2013-05-29 19:45:35 UTC) #9
Message was sent while issue was closed.
Change committed as 202942

Powered by Google App Engine
This is Rietveld 408576698