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

Unified Diff: cc/layers/ui_resource_layer_unittest.cc

Issue 400773002: cc: Parameterize the main thread task runner (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: WebView fix. Created 6 years, 5 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
« no previous file with comments | « cc/layers/tiled_layer_unittest.cc ('k') | cc/test/fake_impl_proxy.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/layers/ui_resource_layer_unittest.cc
diff --git a/cc/layers/ui_resource_layer_unittest.cc b/cc/layers/ui_resource_layer_unittest.cc
index 25cc2c74332d6ebd438daee42963efd05e3dd865..f6a460e018b54beeec0940a013566a1851ce04d6 100644
--- a/cc/layers/ui_resource_layer_unittest.cc
+++ b/cc/layers/ui_resource_layer_unittest.cc
@@ -35,7 +35,8 @@ class UIResourceLayerTest : public testing::Test {
protected:
virtual void SetUp() {
layer_tree_host_ = FakeLayerTreeHost::Create();
- layer_tree_host_->InitializeSingleThreaded(&fake_client_);
+ layer_tree_host_->InitializeSingleThreaded(
+ &fake_client_, base::MessageLoopProxy::current());
}
virtual void TearDown() {
« no previous file with comments | « cc/layers/tiled_layer_unittest.cc ('k') | cc/test/fake_impl_proxy.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698