Index: remoting/protocol/jingle_session_unittest.cc |
diff --git a/remoting/protocol/jingle_session_unittest.cc b/remoting/protocol/jingle_session_unittest.cc |
index 54702e89d376a514088061ce77f7416b13845b11..9d70297e33fb1072837d2108d1f5022965d2583a 100644 |
--- a/remoting/protocol/jingle_session_unittest.cc |
+++ b/remoting/protocol/jingle_session_unittest.cc |
@@ -56,8 +56,8 @@ const int kMessages = 100; |
const char kChannelName[] = "test_channel"; |
void QuitCurrentThread() { |
- base::MessageLoop::current()->PostTask(FROM_HERE, |
- base::MessageLoop::QuitClosure()); |
+ base::MessageLoop::current()->PostTask( |
+ FROM_HERE, base::MessageLoop::QuitWhenIdleClosure()); |
} |
ACTION(QuitThread) { |