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

Unified Diff: chrome/browser/geolocation/access_token_store_browsertest.cc

Issue 8873032: Removing MessageLoop::QuitTask() from chrome/ (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Revert 3 more problematic files 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/fast_shutdown_uitest.cc ('k') | chrome/browser/history/history_browsertest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/geolocation/access_token_store_browsertest.cc
diff --git a/chrome/browser/geolocation/access_token_store_browsertest.cc b/chrome/browser/geolocation/access_token_store_browsertest.cc
index 8f21c216feeb908e2b2d36bc49504bd5a7d11072..22729d51b323603996fb170e24d91f37bbed11aa 100644
--- a/chrome/browser/geolocation/access_token_store_browsertest.cc
+++ b/chrome/browser/geolocation/access_token_store_browsertest.cc
@@ -95,7 +95,7 @@ void RunCancelTestInClientTread() {
EXPECT_EQ(0u, consumer.PendingRequestCount());
BrowserThread::PostTask(
- BrowserThread::UI, FROM_HERE, new MessageLoop::QuitTask);
+ BrowserThread::UI, FROM_HERE, MessageLoop::QuitClosure());
}
void GeolocationAccessTokenStoreTest::DoTestStepAndWaitForResults(
@@ -135,7 +135,7 @@ void GeolocationAccessTokenStoreTest::OnAccessTokenStoresLoaded(
store->SaveAccessToken(ref_url_, *token_to_set_);
}
BrowserThread::PostTask(
- BrowserThread::UI, FROM_HERE, new MessageLoop::QuitTask);
+ BrowserThread::UI, FROM_HERE, MessageLoop::QuitClosure());
}
IN_PROC_BROWSER_TEST_F(GeolocationAccessTokenStoreTest, SetAcrossInstances) {
« no previous file with comments | « chrome/browser/fast_shutdown_uitest.cc ('k') | chrome/browser/history/history_browsertest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698