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

Unified Diff: content/browser/idbbindingutilities_browsertest.cc

Issue 8872030: Removing MessageLoop::QuitTask() from content/ (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix escaping 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: content/browser/idbbindingutilities_browsertest.cc
diff --git a/content/browser/idbbindingutilities_browsertest.cc b/content/browser/idbbindingutilities_browsertest.cc
index 447fb37bea5d6eb875c39af4b69725f5f812125f..2b34c0983e0443df55d84508d5ae80c56f7ef6ea 100644
--- a/content/browser/idbbindingutilities_browsertest.cc
+++ b/content/browser/idbbindingutilities_browsertest.cc
@@ -101,7 +101,7 @@ class IDBKeyPathHelper : public UtilityProcessHost::Client {
new UtilityProcessHost(this, BrowserThread::IO);
utility_process_host_->StartBatchMode();
BrowserThread::PostTask(BrowserThread::UI, FROM_HERE,
- new MessageLoop::QuitTask());
+ MessageLoop::QuitClosure());
}
void DestroyUtilityProcess() {
@@ -115,7 +115,7 @@ class IDBKeyPathHelper : public UtilityProcessHost::Client {
utility_process_host_->EndBatchMode();
utility_process_host_ = NULL;
BrowserThread::PostTask(BrowserThread::UI, FROM_HERE,
- new MessageLoop::QuitTask());
+ MessageLoop::QuitClosure());
}
void SetExpectedKeys(int expected_id,
@@ -196,19 +196,19 @@ class IDBKeyPathHelper : public UtilityProcessHost::Client {
}
}
BrowserThread::PostTask(BrowserThread::UI, FROM_HERE,
- new MessageLoop::QuitTask());
+ MessageLoop::QuitClosure());
}
void OnIDBKeysFromValuesAndKeyPathFailed(int id) {
EXPECT_TRUE(value_for_key_path_failed_);
BrowserThread::PostTask(BrowserThread::UI, FROM_HERE,
- new MessageLoop::QuitTask());
+ MessageLoop::QuitClosure());
}
void OnInjectIDBKeyFinished(const content::SerializedScriptValue& new_value) {
EXPECT_EQ(expected_value_.data(), new_value.data());
BrowserThread::PostTask(BrowserThread::UI, FROM_HERE,
- new MessageLoop::QuitTask());
+ MessageLoop::QuitClosure());
}
« no previous file with comments | « content/browser/geolocation/geolocation_provider_unittest.cc ('k') | content/browser/plugin_service_browsertest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698