Index: remoting/protocol/authenticator_test_base.cc |
diff --git a/remoting/protocol/authenticator_test_base.cc b/remoting/protocol/authenticator_test_base.cc |
index db15623406e14d4130ac20f116230bdd095cabd9..879afc2e0b74f6a7be8b09619a1439ce60164c2f 100644 |
--- a/remoting/protocol/authenticator_test_base.cc |
+++ b/remoting/protocol/authenticator_test_base.cc |
@@ -9,6 +9,7 @@ |
#include "base/base64.h" |
#include "base/files/file_path.h" |
#include "base/files/file_util.h" |
+#include "base/run_loop.h" |
#include "base/test/test_timeouts.h" |
#include "base/timer/timer.h" |
#include "net/base/net_errors.h" |
@@ -147,7 +148,7 @@ void AuthenticatorTestBase::RunChannelAuth(bool expected_fail) { |
base::Timer shutdown_timer(false, false); |
shutdown_timer.Start(FROM_HERE, TestTimeouts::action_timeout(), |
base::MessageLoop::QuitWhenIdleClosure()); |
- message_loop_.Run(); |
+ base::RunLoop().Run(); |
shutdown_timer.Stop(); |
testing::Mock::VerifyAndClearExpectations(&client_callback_); |