Index: content/browser/geolocation/location_arbitrator_impl.cc |
=================================================================== |
--- content/browser/geolocation/location_arbitrator_impl.cc (revision 203281) |
+++ content/browser/geolocation/location_arbitrator_impl.cc (working copy) |
@@ -70,6 +70,12 @@ |
} |
void GeolocationArbitratorImpl::StopProviders() { |
+ // Reset the reference location state (provider+position) |
+ // so that future starts use fresh locations from |
+ // the newly constructed providers. |
+ position_provider_ = NULL; |
+ position_ = Geoposition(); |
+ |
providers_.clear(); |
is_running_ = false; |
} |