Index: cc/test/fake_proxy.h |
diff --git a/cc/test/fake_proxy.h b/cc/test/fake_proxy.h |
index b806df425a3c4f1e9314308682dfa2c8201142ca..3f7df449c20d720a423b94049352d4562b25a982 100644 |
--- a/cc/test/fake_proxy.h |
+++ b/cc/test/fake_proxy.h |
@@ -5,7 +5,7 @@ |
#ifndef CC_TEST_FAKE_PROXY_H_ |
#define CC_TEST_FAKE_PROXY_H_ |
-#include "cc/base/thread.h" |
+#include "base/single_thread_task_runner.h" |
#include "cc/trees/layer_tree_host.h" |
#include "cc/trees/proxy.h" |
@@ -13,8 +13,10 @@ namespace cc { |
class FakeProxy : public Proxy { |
public: |
- explicit FakeProxy(scoped_ptr<Thread> impl_thread) |
- : Proxy(impl_thread.Pass()), |
+ FakeProxy() : Proxy(NULL), layer_tree_host_(NULL) {} |
+ explicit FakeProxy( |
+ scoped_refptr<base::SingleThreadTaskRunner> impl_task_runner) |
+ : Proxy(impl_task_runner), |
layer_tree_host_(NULL) {} |
void SetLayerTreeHost(LayerTreeHost* host); |