Index: remoting/client/client_status_logger_unittest.cc |
diff --git a/remoting/client/client_status_logger_unittest.cc b/remoting/client/client_status_logger_unittest.cc |
index 145a0175b3e295a15997f382dfa0564d93c16484..e7348a64d3610d4aa4278e3b384a46807e2bad48 100644 |
--- a/remoting/client/client_status_logger_unittest.cc |
+++ b/remoting/client/client_status_logger_unittest.cc |
@@ -5,6 +5,7 @@ |
#include "remoting/client/client_status_logger.h" |
#include "base/message_loop/message_loop.h" |
+#include "base/run_loop.h" |
#include "remoting/protocol/performance_tracker.h" |
#include "remoting/signaling/mock_signal_strategy.h" |
#include "remoting/signaling/server_log_entry_unittest.h" |
@@ -101,7 +102,7 @@ TEST_F(ClientStatusLoggerTest, LogStateChange) { |
// which removes the listener and terminates the test. |
client_status_logger_->SetSignalingStateForTest(SignalStrategy::CONNECTED); |
client_status_logger_->SetSignalingStateForTest(SignalStrategy::DISCONNECTED); |
- message_loop_.Run(); |
+ base::RunLoop().Run(); |
} |
TEST_F(ClientStatusLoggerTest, LogStateChangeError) { |
@@ -123,7 +124,7 @@ TEST_F(ClientStatusLoggerTest, LogStateChangeError) { |
client_status_logger_->SetSignalingStateForTest(SignalStrategy::CONNECTED); |
client_status_logger_->SetSignalingStateForTest(SignalStrategy::DISCONNECTED); |
- message_loop_.Run(); |
+ base::RunLoop().Run(); |
} |
TEST_F(ClientStatusLoggerTest, LogStatistics) { |
@@ -146,7 +147,7 @@ TEST_F(ClientStatusLoggerTest, LogStatistics) { |
client_status_logger_->SetSignalingStateForTest(SignalStrategy::CONNECTED); |
client_status_logger_->SetSignalingStateForTest(SignalStrategy::DISCONNECTED); |
- message_loop_.Run(); |
+ base::RunLoop().Run(); |
} |
} // namespace remoting |