Index: chrome/browser/autocomplete/history_contents_provider_unittest.cc |
diff --git a/chrome/browser/autocomplete/history_contents_provider_unittest.cc b/chrome/browser/autocomplete/history_contents_provider_unittest.cc |
index 2a17ba86b9121d9ec6e62041e89a6bd08c7398b0..bdf729cc80779ec69704b220ccb2f9710b957730 100644 |
--- a/chrome/browser/autocomplete/history_contents_provider_unittest.cc |
+++ b/chrome/browser/autocomplete/history_contents_provider_unittest.cc |
@@ -99,7 +99,7 @@ class HistoryContentsProviderTest : public testing::Test, |
// We must quit the message loop (if running) to return control to the test. |
// Note, calling Quit() directly will checkfail if the loop isn't running, |
// so we post a task, which is safe for either case. |
- MessageLoop::current()->PostTask(FROM_HERE, new MessageLoop::QuitTask()); |
+ MessageLoop::current()->PostTask(FROM_HERE, MessageLoop::QuitClosure()); |
} |
MessageLoopForUI message_loop_; |