| Index: chrome/browser/history/history_unittest.cc
|
| diff --git a/chrome/browser/history/history_unittest.cc b/chrome/browser/history/history_unittest.cc
|
| index ceb960866bfc698c1296deb9e2a66ee1573de0ba..82c285c794ad58297994eda4a32612c6201036d7 100644
|
| --- a/chrome/browser/history/history_unittest.cc
|
| +++ b/chrome/browser/history/history_unittest.cc
|
| @@ -168,7 +168,7 @@ class HistoryTest : public testing::Test {
|
|
|
| // Make sure we don't have any event pending that could disrupt the next
|
| // test.
|
| - MessageLoop::current()->PostTask(FROM_HERE, new MessageLoop::QuitTask);
|
| + MessageLoop::current()->PostTask(FROM_HERE, MessageLoop::QuitClosure());
|
| MessageLoop::current()->Run();
|
| }
|
|
|
| @@ -176,7 +176,7 @@ class HistoryTest : public testing::Test {
|
| DCHECK(history_service_.get());
|
|
|
| history_service_->NotifyRenderProcessHostDestruction(0);
|
| - history_service_->SetOnBackendDestroyTask(new MessageLoop::QuitTask);
|
| + history_service_->SetOnBackendDestroyTask(MessageLoop::QuitClosure());
|
| history_service_->Cleanup();
|
| history_service_ = NULL;
|
|
|
|
|