Index: remoting/host/screen_recorder_unittest.cc |
diff --git a/remoting/host/screen_recorder_unittest.cc b/remoting/host/screen_recorder_unittest.cc |
index d39e1b40def1dfe9e6e3744ba40255a885415e3c..4a35cec070fac4915da010c35db5604f39534a44 100644 |
--- a/remoting/host/screen_recorder_unittest.cc |
+++ b/remoting/host/screen_recorder_unittest.cc |
@@ -52,7 +52,7 @@ ACTION(FinishSend) { |
// Helper method to quit the main message loop. |
void QuitMessageLoop(MessageLoop* message_loop) { |
- message_loop->PostTask(FROM_HERE, new MessageLoop::QuitTask()); |
+ message_loop->PostTask(FROM_HERE, MessageLoop::QuitClosure()); |
} |
ACTION_P2(StopScreenRecorder, recorder, task) { |