diff options
Diffstat (limited to 'chrome/browser/net/connection_tester_unittest.cc')
-rw-r--r-- | chrome/browser/net/connection_tester_unittest.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/chrome/browser/net/connection_tester_unittest.cc b/chrome/browser/net/connection_tester_unittest.cc index 3540990..cbdf156 100644 --- a/chrome/browser/net/connection_tester_unittest.cc +++ b/chrome/browser/net/connection_tester_unittest.cc @@ -194,7 +194,7 @@ TEST_F(ConnectionTesterTest, DeleteWhileInProgress) { // |backup_task| that it will try to deref during the destructor, but // depending on the order that pending tasks were deleted in, it might // already be invalid! See http://crbug.com/43291. - MessageLoop::current()->PostTask(FROM_HERE, new MessageLoop::QuitTask()); + MessageLoop::current()->PostTask(FROM_HERE, MessageLoop::QuitClosure()); MessageLoop::current()->Run(); } |