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

Unified Diff: remoting/signaling/iq_sender_unittest.cc

Issue 1394803004: Don't use base::MessageLoop::{Quit,QuitClosure} in remoting/ (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 2 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
« no previous file with comments | « remoting/protocol/ssl_hmac_channel_authenticator_unittest.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: remoting/signaling/iq_sender_unittest.cc
diff --git a/remoting/signaling/iq_sender_unittest.cc b/remoting/signaling/iq_sender_unittest.cc
index e49829165385f13fe1a09d81d9ababda42dec798..6302a2980e341a6467c7cf346cea3e14f4df9b52 100644
--- a/remoting/signaling/iq_sender_unittest.cc
+++ b/remoting/signaling/iq_sender_unittest.cc
@@ -125,7 +125,8 @@ TEST_F(IqSenderTest, Timeout) {
request_->SetTimeout(base::TimeDelta::FromMilliseconds(2));
EXPECT_CALL(callback_, OnReply(request_.get(), nullptr))
- .WillOnce(InvokeWithoutArgs(&message_loop_, &base::MessageLoop::Quit));
+ .WillOnce(
+ InvokeWithoutArgs(&message_loop_, &base::MessageLoop::QuitWhenIdle));
message_loop_.Run();
}
« no previous file with comments | « remoting/protocol/ssl_hmac_channel_authenticator_unittest.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698