| Index: content/browser/geolocation/geolocation_provider_impl.cc
|
| diff --git a/content/browser/geolocation/geolocation_provider_impl.cc b/content/browser/geolocation/geolocation_provider_impl.cc
|
| index f3d6e37e062bf002b3b4050ab5c6cdb5e17a19e0..a913c452ad3151c217720431c926bb2c0d40f153 100644
|
| --- a/content/browser/geolocation/geolocation_provider_impl.cc
|
| +++ b/content/browser/geolocation/geolocation_provider_impl.cc
|
| @@ -92,7 +92,7 @@ GeolocationProviderImpl::~GeolocationProviderImpl() {
|
| }
|
|
|
| bool GeolocationProviderImpl::OnGeolocationThread() const {
|
| - return base::MessageLoop::current() == message_loop();
|
| + return task_runner()->BelongsToCurrentThread();
|
| }
|
|
|
| void GeolocationProviderImpl::OnClientsChanged() {
|
|
|