diff options
author | skyostil <skyostil@chromium.org> | 2015-04-13 13:11:48 -0700 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2015-04-13 20:12:46 +0000 |
commit | 0fd1dad4e6f415c8569b46c7a14b1c11bdee588a (patch) | |
tree | a33a5efbe318f569e2454b298108579690dddea7 /cc/test/fake_impl_proxy.h | |
parent | 1877ede1bc9f7b24685b940a1af96bc339c9f329 (diff) | |
download | chromium_src-0fd1dad4e6f415c8569b46c7a14b1c11bdee588a.zip chromium_src-0fd1dad4e6f415c8569b46c7a14b1c11bdee588a.tar.gz chromium_src-0fd1dad4e6f415c8569b46c7a14b1c11bdee588a.tar.bz2 |
cc: Remove use of MessageLoopProxy
This patch was autogenerated with https://codereview.chromium.org/1010073002
BUG=465354
Review URL: https://codereview.chromium.org/1078203002
Cr-Commit-Position: refs/heads/master@{#324906}
Diffstat (limited to 'cc/test/fake_impl_proxy.h')
-rw-r--r-- | cc/test/fake_impl_proxy.h | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/cc/test/fake_impl_proxy.h b/cc/test/fake_impl_proxy.h index 69eb5d2..6cbf9a3 100644 --- a/cc/test/fake_impl_proxy.h +++ b/cc/test/fake_impl_proxy.h @@ -5,20 +5,25 @@ #ifndef CC_TEST_FAKE_IMPL_PROXY_H_ #define CC_TEST_FAKE_IMPL_PROXY_H_ +#include "base/thread_task_runner_handle.h" #include "cc/test/fake_proxy.h" #include "cc/trees/single_thread_proxy.h" +namespace base { +class SingleThreadIdleTaskRunner; +} + namespace cc { class FakeImplProxy : public FakeProxy { public: FakeImplProxy() - : FakeProxy(base::MessageLoopProxy::current(), nullptr), + : FakeProxy(base::ThreadTaskRunnerHandle::Get(), nullptr), set_impl_thread_(this) {} explicit FakeImplProxy( scoped_refptr<base::SingleThreadTaskRunner> impl_task_runner) - : FakeProxy(base::MessageLoopProxy::current(), impl_task_runner), + : FakeProxy(base::ThreadTaskRunnerHandle::Get(), impl_task_runner), set_impl_thread_(this) {} private: |