| Index: remoting/base/auto_thread_unittest.cc
|
| diff --git a/remoting/base/auto_thread_unittest.cc b/remoting/base/auto_thread_unittest.cc
|
| index 13f07ac0bfd409f00cebc8cf351cfeb2ef10a71b..152db81300b98359d0e55dbac13f61d67ddc3e54 100644
|
| --- a/remoting/base/auto_thread_unittest.cc
|
| +++ b/remoting/base/auto_thread_unittest.cc
|
| @@ -67,7 +67,7 @@ class AutoThreadTest : public testing::Test {
|
| // task to |message_loop_| so the test will not hang on failure.
|
| main_task_runner_ = NULL;
|
| message_loop_.PostDelayedTask(FROM_HERE,
|
| - base::MessageLoop::QuitClosure(),
|
| + base::MessageLoop::QuitWhenIdleClosure(),
|
| base::TimeDelta::FromSeconds(5));
|
| message_loop_.Run();
|
| }
|
| @@ -87,7 +87,7 @@ class AutoThreadTest : public testing::Test {
|
| protected:
|
| void QuitMainMessageLoop() {
|
| message_loop_quit_correctly_ = true;
|
| - message_loop_.PostTask(FROM_HERE, base::MessageLoop::QuitClosure());
|
| + message_loop_.PostTask(FROM_HERE, base::MessageLoop::QuitWhenIdleClosure());
|
| }
|
|
|
| base::MessageLoop message_loop_;
|
|
|