| 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..49748689bda052c90304fd071592bcf7aa3930e8 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.
|
|
|