Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(118)

Unified Diff: remoting/signaling/iq_sender_unittest.cc

Issue 2082363002: Remove calls to deprecated MessageLoop methods in remoting. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: remoting/signaling/iq_sender_unittest.cc
diff --git a/remoting/signaling/iq_sender_unittest.cc b/remoting/signaling/iq_sender_unittest.cc
index bcf573d695ec125f2f2c0489a044f59012ba5556..810d5df68be024374d49381a3b1058718bb8f12b 100644
--- a/remoting/signaling/iq_sender_unittest.cc
+++ b/remoting/signaling/iq_sender_unittest.cc
@@ -130,7 +130,7 @@ TEST_F(IqSenderTest, Timeout) {
EXPECT_CALL(callback_, OnReply(request_.get(), nullptr))
.WillOnce(
InvokeWithoutArgs(&message_loop_, &base::MessageLoop::QuitWhenIdle));
- message_loop_.Run();
+ base::RunLoop().Run();
}
TEST_F(IqSenderTest, NotNormalizedJid) {

Powered by Google App Engine
This is Rietveld 408576698