summaryrefslogtreecommitdiffstats
path: root/remoting/base/auto_thread_task_runner_unittest.cc
diff options
context:
space:
mode:
Diffstat (limited to 'remoting/base/auto_thread_task_runner_unittest.cc')
-rw-r--r--remoting/base/auto_thread_task_runner_unittest.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/remoting/base/auto_thread_task_runner_unittest.cc b/remoting/base/auto_thread_task_runner_unittest.cc
index eb779b6..9a1f712 100644
--- a/remoting/base/auto_thread_task_runner_unittest.cc
+++ b/remoting/base/auto_thread_task_runner_unittest.cc
@@ -22,7 +22,7 @@ TEST(AutoThreadTaskRunnerTest, StartAndStop) {
// Create a task runner.
base::MessageLoop message_loop;
scoped_refptr<AutoThreadTaskRunner> task_runner = new AutoThreadTaskRunner(
- message_loop.task_runner(), base::MessageLoop::QuitClosure());
+ message_loop.task_runner(), base::MessageLoop::QuitWhenIdleClosure());
// Post a task to make sure it is executed.
bool success = false;