Index: remoting/base/auto_thread_task_runner_unittest.cc |
diff --git a/remoting/base/auto_thread_task_runner_unittest.cc b/remoting/base/auto_thread_task_runner_unittest.cc |
index 95c5416d8d6fa02fdf7e2d07f43175da6ed78848..71c71ce17ef2c4cea51947c9dc937d1a3b526226 100644 |
--- a/remoting/base/auto_thread_task_runner_unittest.cc |
+++ b/remoting/base/auto_thread_task_runner_unittest.cc |
@@ -20,10 +20,9 @@ namespace remoting { |
TEST(AutoThreadTaskRunnerTest, StartAndStop) { |
// Create a task runner. |
- MessageLoop message_loop; |
- scoped_refptr<AutoThreadTaskRunner> task_runner = |
- new AutoThreadTaskRunner( |
- message_loop.message_loop_proxy(), MessageLoop::QuitClosure()); |
+ base::MessageLoop message_loop; |
+ scoped_refptr<AutoThreadTaskRunner> task_runner = new AutoThreadTaskRunner( |
+ message_loop.message_loop_proxy(), base::MessageLoop::QuitClosure()); |
// Post a task to make sure it is executed. |
bool success = false; |