Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1009)

Unified Diff: device/geolocation/geolocation_service_impl.cc

Issue 2379253002: Remove ContentViewCore::PauseOrResumeGeolocation() (Closed)
Patch Set: comment Created 4 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « device/geolocation/geolocation_service_context.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: device/geolocation/geolocation_service_impl.cc
diff --git a/device/geolocation/geolocation_service_impl.cc b/device/geolocation/geolocation_service_impl.cc
index 1df0c035fa1d5ac8a006a64414444fd6dfd38e50..ee9ae3a2f366a553eb84754d48e4e01e2da7d68c 100644
--- a/device/geolocation/geolocation_service_impl.cc
+++ b/device/geolocation/geolocation_service_impl.cc
@@ -160,9 +160,6 @@ void GeolocationServiceImpl::OnLocationUpdate(const Geoposition& position) {
RecordGeopositionErrorCode(position.error_code);
DCHECK(context_);
- if (context_->paused())
- return;
-
update_callback_.Run();
current_position_.valid = position.Validate();
« no previous file with comments | « device/geolocation/geolocation_service_context.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698