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

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

Issue 8892023: Eliminated the last few uses of MessageLoop::QuitTask in chrome/ (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: One more... 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
« no previous file with comments | « chrome/browser/history/history_backend.cc ('k') | chrome/browser/history/history_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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.
« no previous file with comments | « chrome/browser/history/history_backend.cc ('k') | chrome/browser/history/history_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698