Index: content/browser/compositor/reflector_impl_unittest.cc |
diff --git a/content/browser/compositor/reflector_impl_unittest.cc b/content/browser/compositor/reflector_impl_unittest.cc |
index a80b4fb90991461ed25f905a7c37d26f60a57917..ce9fbb9e6613fa72f49c10153a9966f84ec0b0d2 100644 |
--- a/content/browser/compositor/reflector_impl_unittest.cc |
+++ b/content/browser/compositor/reflector_impl_unittest.cc |
@@ -2,7 +2,6 @@ |
// Use of this source code is governed by a BSD-style license that can be |
// found in the LICENSE file. |
-#include "base/message_loop/message_loop.h" |
#include "base/run_loop.h" |
#include "base/single_thread_task_runner.h" |
#include "cc/test/fake_output_surface_client.h" |
@@ -119,7 +118,7 @@ class ReflectorImplTest : public testing::Test { |
scoped_ptr<ImageTransportFactory>( |
new NoTransportImageTransportFactory)); |
message_loop_.reset(new base::MessageLoop()); |
- proxy_ = message_loop_->message_loop_proxy(); |
+ task_runner_ = message_loop_->task_runner(); |
compositor_task_runner_ = new FakeTaskRunner(); |
compositor_.reset(new ui::Compositor(gfx::kNullAcceleratedWidget, |
context_factory, |
@@ -166,7 +165,7 @@ class ReflectorImplTest : public testing::Test { |
scoped_refptr<cc::ContextProvider> context_provider_; |
cc::FakeOutputSurfaceClient output_surface_client_; |
scoped_ptr<base::MessageLoop> message_loop_; |
- scoped_refptr<base::MessageLoopProxy> proxy_; |
+ scoped_refptr<base::SingleThreadTaskRunner> task_runner_; |
scoped_ptr<ui::Compositor> compositor_; |
scoped_ptr<ui::Layer> root_layer_; |
scoped_ptr<ui::Layer> mirroring_layer_; |