| Index: chrome/browser/history/history_querying_unittest.cc
|
| diff --git a/chrome/browser/history/history_querying_unittest.cc b/chrome/browser/history/history_querying_unittest.cc
|
| index 0ba62faffc391be7329651f0cdd16f6e22da4eae..fbdc704506d91d9a77c3c306cef1c754e9ac071c 100644
|
| --- a/chrome/browser/history/history_querying_unittest.cc
|
| +++ b/chrome/browser/history/history_querying_unittest.cc
|
| @@ -121,7 +121,7 @@ class HistoryQueryTest : public testing::Test {
|
|
|
| virtual void TearDown() {
|
| if (history_.get()) {
|
| - history_->SetOnBackendDestroyTask(new MessageLoop::QuitTask);
|
| + history_->SetOnBackendDestroyTask(MessageLoop::QuitClosure());
|
| history_->Cleanup();
|
| history_ = NULL;
|
| MessageLoop::current()->Run(); // Wait for the other thread.
|
|
|