summaryrefslogtreecommitdiffstats
path: root/content/browser/geolocation/geolocation_provider_unittest.cc
diff options
context:
space:
mode:
Diffstat (limited to 'content/browser/geolocation/geolocation_provider_unittest.cc')
-rw-r--r--content/browser/geolocation/geolocation_provider_unittest.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/content/browser/geolocation/geolocation_provider_unittest.cc b/content/browser/geolocation/geolocation_provider_unittest.cc
index f606a96..2b899c1 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: