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