Index: remoting/host/chromoting_host_unittest.cc |
diff --git a/remoting/host/chromoting_host_unittest.cc b/remoting/host/chromoting_host_unittest.cc |
index 82cd6ce30e693f358697c171fb0622328dfc4166..0eeac1b3ac37c7db8279765fb4a3fc9e9744e3b8 100644 |
--- a/remoting/host/chromoting_host_unittest.cc |
+++ b/remoting/host/chromoting_host_unittest.cc |
@@ -53,7 +53,7 @@ namespace remoting { |
namespace { |
void PostQuitTask(base::MessageLoop* message_loop) { |
- message_loop->PostTask(FROM_HERE, base::MessageLoop::QuitClosure()); |
+ message_loop->PostTask(FROM_HERE, base::MessageLoop::QuitWhenIdleClosure()); |
} |
// Run the task and delete it afterwards. This action is used to deal with |