Index: remoting/host/chromoting_host_unittest.cc |
diff --git a/remoting/host/chromoting_host_unittest.cc b/remoting/host/chromoting_host_unittest.cc |
index 8516e63e25e3147d37ab2e6ddfff41181415def0..f366a08c97723f51e7efce1b1f8d7b4378d947f9 100644 |
--- a/remoting/host/chromoting_host_unittest.cc |
+++ b/remoting/host/chromoting_host_unittest.cc |
@@ -45,7 +45,7 @@ namespace remoting { |
namespace { |
void PostQuitTask(MessageLoop* message_loop) { |
- message_loop->PostTask(FROM_HERE, new MessageLoop::QuitTask()); |
+ message_loop->PostTask(FROM_HERE, MessageLoop::QuitClosure()); |
} |
// Run the task and delete it afterwards. This action is used to deal with |