Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(308)

Unified Diff: chrome/browser/history/history_querying_unittest.cc

Issue 8873032: Removing MessageLoop::QuitTask() from chrome/ (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 9 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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.

Powered by Google App Engine
This is Rietveld 408576698