diff options
Diffstat (limited to 'content/browser/geolocation/mock_location_provider.cc')
-rw-r--r-- | content/browser/geolocation/mock_location_provider.cc | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/content/browser/geolocation/mock_location_provider.cc b/content/browser/geolocation/mock_location_provider.cc index 76471af..7c083c7 100644 --- a/content/browser/geolocation/mock_location_provider.cc +++ b/content/browser/geolocation/mock_location_provider.cc @@ -104,10 +104,11 @@ class AutoMockLocationProvider : public MockLocationProvider { void UpdateListenersIfNeeded() { if (!listeners_updated_) { listeners_updated_ = true; - MessageLoop::current()->PostTask( + base::MessageLoop::current()->PostTask( FROM_HERE, base::Bind(&MockLocationProvider::HandlePositionChanged, - weak_factory_.GetWeakPtr(), position_)); + weak_factory_.GetWeakPtr(), + position_)); } } |