Index: content/browser/tab_contents/navigation_controller_unittest.cc |
diff --git a/content/browser/tab_contents/navigation_controller_unittest.cc b/content/browser/tab_contents/navigation_controller_unittest.cc |
index bcd87cb80baffdfba7a2ccde48fdcb280d5adff7..60dfb2508e772ab0c3be91efcc8cba64320334b3 100644 |
--- a/content/browser/tab_contents/navigation_controller_unittest.cc |
+++ b/content/browser/tab_contents/navigation_controller_unittest.cc |
@@ -2283,7 +2283,7 @@ class NavigationControllerHistoryTest : public NavigationControllerTest { |
HistoryService* history = |
profile()->GetHistoryService(Profile::IMPLICIT_ACCESS); |
if (history) { |
- history->SetOnBackendDestroyTask(new MessageLoop::QuitTask); |
+ history->SetOnBackendDestroyTask(MessageLoop::QuitClosure()); |
MessageLoop::current()->Run(); |
} |