| Index: remoting/protocol/ssl_hmac_channel_authenticator_unittest.cc
|
| diff --git a/remoting/protocol/ssl_hmac_channel_authenticator_unittest.cc b/remoting/protocol/ssl_hmac_channel_authenticator_unittest.cc
|
| index df0b45995fd8413788852c502e3340b3fa412802..5b50fc5a46042f665f5fdc4f05a4c431098127ec 100644
|
| --- a/remoting/protocol/ssl_hmac_channel_authenticator_unittest.cc
|
| +++ b/remoting/protocol/ssl_hmac_channel_authenticator_unittest.cc
|
| @@ -44,7 +44,7 @@ ACTION_P(QuitThreadOnCounter, counter) {
|
| --(*counter);
|
| EXPECT_GE(*counter, 0);
|
| if (*counter == 0)
|
| - base::MessageLoop::current()->Quit();
|
| + base::MessageLoop::current()->QuitWhenIdle();
|
| }
|
|
|
| } // namespace
|
| @@ -108,9 +108,8 @@ class SslHmacChannelAuthenticatorTest : public testing::Test {
|
| // 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();
|
| }
|
|
|
|
|