Index: remoting/protocol/jingle_session_unittest.cc |
diff --git a/remoting/protocol/jingle_session_unittest.cc b/remoting/protocol/jingle_session_unittest.cc |
index 8757029baf8e3be4167a48251e37f33d2e93ad9c..44bfc4ff801209d6c8872664dce4328d72fd2f49 100644 |
--- a/remoting/protocol/jingle_session_unittest.cc |
+++ b/remoting/protocol/jingle_session_unittest.cc |
@@ -77,7 +77,7 @@ const char kTestSharedSecret[] = "1234-1234-5678"; |
const char kTestSharedSecretBad[] = "0000-0000-0001"; |
void QuitCurrentThread() { |
- MessageLoop::current()->PostTask(FROM_HERE, new MessageLoop::QuitTask()); |
+ MessageLoop::current()->PostTask(FROM_HERE, MessageLoop::QuitClosure()); |
} |
void OnTimeoutTerminateThread(bool* timeout) { |