Index: remoting/protocol/channel_multiplexer_unittest.cc |
diff --git a/remoting/protocol/channel_multiplexer_unittest.cc b/remoting/protocol/channel_multiplexer_unittest.cc |
index 72448e2e4ebdf9724dcb9ed75cc278e4ba1a1f69..190764ebc6edc6c5028d9d45ccdc7bc31f4d4037 100644 |
--- a/remoting/protocol/channel_multiplexer_unittest.cc |
+++ b/remoting/protocol/channel_multiplexer_unittest.cc |
@@ -34,8 +34,8 @@ const char kTestChannelName2[] = "test2"; |
void QuitCurrentThread() { |
- base::MessageLoop::current()->PostTask(FROM_HERE, |
- base::MessageLoop::QuitClosure()); |
+ base::MessageLoop::current()->PostTask( |
+ FROM_HERE, base::MessageLoop::QuitWhenIdleClosure()); |
} |
class MockSocketCallback { |