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

Unified Diff: content/browser/geolocation/geolocation_provider_unittest.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/geolocation/geolocation_provider_unittest.cc
diff --git a/content/browser/geolocation/geolocation_provider_unittest.cc b/content/browser/geolocation/geolocation_provider_unittest.cc
index f606a96a47840c43534afc7c226062b64e6e8e21..2b899c17b7dd41b8027b3bc5dc9595e968281eab 100644
--- a/content/browser/geolocation/geolocation_provider_unittest.cc
+++ b/content/browser/geolocation/geolocation_provider_unittest.cc
@@ -84,13 +84,13 @@ class StartStopMockLocationProvider : public MockLocationProvider {
virtual bool StartProvider(bool high_accuracy) {
bool result = MockLocationProvider::StartProvider(high_accuracy);
- test_loop_->PostTask(FROM_HERE, new MessageLoop::QuitTask);
+ test_loop_->PostTask(FROM_HERE, MessageLoop::QuitClosure());
return result;
}
virtual void StopProvider() {
MockLocationProvider::StopProvider();
- test_loop_->PostTask(FROM_HERE, new MessageLoop::QuitTask);
+ test_loop_->PostTask(FROM_HERE, MessageLoop::QuitClosure());
}
private:
« no previous file with comments | « content/browser/device_orientation/provider_unittest.cc ('k') | content/browser/idbbindingutilities_browsertest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698