| Index: remoting/protocol/authenticator_test_base.cc
|
| diff --git a/remoting/protocol/authenticator_test_base.cc b/remoting/protocol/authenticator_test_base.cc
|
| index eb3d6bd8bdce910f4303d8cc4ef88d2dbfcccd10..f2166d79380eb842d3da05b17da31dc4318607a7 100644
|
| --- a/remoting/protocol/authenticator_test_base.cc
|
| +++ b/remoting/protocol/authenticator_test_base.cc
|
| @@ -31,7 +31,7 @@ ACTION_P(QuitThreadOnCounter, counter) {
|
| --(*counter);
|
| EXPECT_GE(*counter, 0);
|
| if (*counter == 0)
|
| - base::MessageLoop::current()->Quit();
|
| + base::MessageLoop::current()->QuitWhenIdle();
|
| }
|
|
|
| } // namespace
|
| @@ -142,9 +142,8 @@ void AuthenticatorTestBase::RunChannelAuth(bool expected_fail) {
|
| // Ensure that .Run() does not run unbounded if the callbacks are never
|
| // called.
|
| base::Timer shutdown_timer(false, false);
|
| - shutdown_timer.Start(FROM_HERE,
|
| - TestTimeouts::action_timeout(),
|
| - base::MessageLoop::QuitClosure());
|
| + shutdown_timer.Start(FROM_HERE, TestTimeouts::action_timeout(),
|
| + base::MessageLoop::QuitWhenIdleClosure());
|
| message_loop_.Run();
|
| shutdown_timer.Stop();
|
|
|
|
|