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

Unified Diff: cc/layer_tree_host_unittest.cc

Issue 11232051: Remove static thread pointers from CC (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Address code review comments and fix all cc_unittests Created 8 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: cc/layer_tree_host_unittest.cc
diff --git a/cc/layer_tree_host_unittest.cc b/cc/layer_tree_host_unittest.cc
index a03e41802a1b1c56e2214990f3d6415e1a53bb0f..bd0b7f904179d3a3d8a9a05d0215542b8582b78d 100644
--- a/cc/layer_tree_host_unittest.cc
+++ b/cc/layer_tree_host_unittest.cc
@@ -2867,7 +2867,7 @@ public:
if (webThread())
webThread()->postTask(new EvictTexturesTask(this));
else {
- DebugScopedSetImplThread impl;
+ DebugScopedSetImplThread impl(proxy());
evictTexturesOnImplThread();
}
}

Powered by Google App Engine
This is Rietveld 408576698