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

Unified Diff: cc/test/fake_proxy.h

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/test/fake_impl_proxy.h ('k') | cc/test/layer_tree_test.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/test/fake_proxy.h
diff --git a/cc/test/fake_proxy.h b/cc/test/fake_proxy.h
index 004962e76cf6f0f5d90a90170471e5fc86f1e6d0..2a700906b33776e0780757d0e36c6f7e2a2dd06b 100644
--- a/cc/test/fake_proxy.h
+++ b/cc/test/fake_proxy.h
@@ -13,11 +13,11 @@ namespace cc {
class FakeProxy : public Proxy {
public:
- FakeProxy() : Proxy(NULL), layer_tree_host_(NULL) {}
+ FakeProxy() : Proxy(NULL, NULL), layer_tree_host_(NULL) {}
explicit FakeProxy(
+ scoped_refptr<base::SingleThreadTaskRunner> main_task_runner,
scoped_refptr<base::SingleThreadTaskRunner> impl_task_runner)
- : Proxy(impl_task_runner),
- layer_tree_host_(NULL) {}
+ : Proxy(main_task_runner, impl_task_runner), layer_tree_host_(NULL) {}
void SetLayerTreeHost(LayerTreeHost* host);
« no previous file with comments | « cc/test/fake_impl_proxy.h ('k') | cc/test/layer_tree_test.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698