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

Unified Diff: cc/layers/tiled_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/texture_layer_unittest.cc ('k') | cc/layers/ui_resource_layer_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/layers/tiled_layer_unittest.cc
diff --git a/cc/layers/tiled_layer_unittest.cc b/cc/layers/tiled_layer_unittest.cc
index bd15f2f1f540d62dde876158a33b591f86d16e46..fb6b488a4e964ecfd8cbd0b06f5236bd4c26b05b 100644
--- a/cc/layers/tiled_layer_unittest.cc
+++ b/cc/layers/tiled_layer_unittest.cc
@@ -83,7 +83,8 @@ class SynchronousOutputSurfaceLayerTreeHost : public LayerTreeHost {
scoped_refptr<base::SingleThreadTaskRunner> impl_task_runner)
: LayerTreeHost(client, manager, settings),
output_surface_created_(false) {
- LayerTreeHost::InitializeThreaded(impl_task_runner);
+ LayerTreeHost::InitializeThreaded(base::MessageLoopProxy::current(),
+ impl_task_runner);
}
bool output_surface_created_;
« no previous file with comments | « cc/layers/texture_layer_unittest.cc ('k') | cc/layers/ui_resource_layer_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698