Index: content/browser/geofencing/geofencing_manager.cc |
diff --git a/content/browser/geofencing/geofencing_manager.cc b/content/browser/geofencing/geofencing_manager.cc |
index 96f55ecd3d0ae70fa75bdc430b3df8b9bccbf005..d44605771f812fb139982635b4f13c3897724a5f 100644 |
--- a/content/browser/geofencing/geofencing_manager.cc |
+++ b/content/browser/geofencing/geofencing_manager.cc |
@@ -110,7 +110,7 @@ void GeofencingManager::RegisterRegion( |
// Look up service worker. |
ServiceWorkerRegistration* service_worker_registration = |
- service_worker_context_->context()->GetLiveRegistration( |
+ service_worker_context_->GetLiveRegistration( |
service_worker_registration_id); |
if (!service_worker_registration) { |
callback.Run(GEOFENCING_STATUS_OPERATION_FAILED_NO_SERVICE_WORKER); |
@@ -146,7 +146,7 @@ void GeofencingManager::UnregisterRegion(int64 service_worker_registration_id, |
// Look up service worker. |
ServiceWorkerRegistration* service_worker_registration = |
- service_worker_context_->context()->GetLiveRegistration( |
+ service_worker_context_->GetLiveRegistration( |
service_worker_registration_id); |
if (!service_worker_registration) { |
callback.Run(GEOFENCING_STATUS_OPERATION_FAILED_NO_SERVICE_WORKER); |
@@ -185,7 +185,7 @@ GeofencingStatus GeofencingManager::GetRegisteredRegions( |
// Look up service worker. |
ServiceWorkerRegistration* service_worker_registration = |
- service_worker_context_->context()->GetLiveRegistration( |
+ service_worker_context_->GetLiveRegistration( |
service_worker_registration_id); |
if (!service_worker_registration) { |
return GEOFENCING_STATUS_OPERATION_FAILED_NO_SERVICE_WORKER; |
@@ -358,7 +358,7 @@ void GeofencingManager::DispatchGeofencingEvent( |
return; |
} |
- service_worker_context_->context()->storage()->FindRegistrationForId( |
+ service_worker_context_->FindRegistrationForId( |
registration->service_worker_registration_id, |
registration->service_worker_origin, |
base::Bind(&GeofencingManager::DeliverGeofencingEvent, |