| Index: content/browser/navigator_connect/navigator_connect_service_worker_service_factory.cc
|
| diff --git a/content/browser/navigator_connect/navigator_connect_service_worker_service_factory.cc b/content/browser/navigator_connect/navigator_connect_service_worker_service_factory.cc
|
| index 7f7d350ddf4415bb284aba1d0471c0eee01c634e..17ee080c87fd09784cbfaa80fde0bbe1f11f3c43 100644
|
| --- a/content/browser/navigator_connect/navigator_connect_service_worker_service_factory.cc
|
| +++ b/content/browser/navigator_connect/navigator_connect_service_worker_service_factory.cc
|
| @@ -83,7 +83,7 @@ void NavigatorConnectServiceWorkerService::SendMessage(
|
| for (const auto& port : sent_message_ports)
|
| MessagePortService::GetInstance()->HoldMessages(port.id);
|
|
|
| - service_worker_context_->context()->storage()->FindRegistrationForId(
|
| + service_worker_context_->FindRegistrationForId(
|
| service_worker_registration_id_, service_worker_registration_origin_,
|
| base::Bind(&NavigatorConnectServiceWorkerService::DeliverMessage,
|
| weak_factory_.GetWeakPtr(), message.message_as_string,
|
| @@ -143,7 +143,7 @@ void NavigatorConnectServiceWorkerServiceFactory::Connect(
|
| DCHECK_CURRENTLY_ON(BrowserThread::IO);
|
|
|
| // Find the right service worker to service this connection.
|
| - service_worker_context_->context()->storage()->FindRegistrationForDocument(
|
| + service_worker_context_->FindRegistrationForDocument(
|
| client.target_url,
|
| base::Bind(&NavigatorConnectServiceWorkerServiceFactory::
|
| GotServiceWorkerRegistration,
|
|
|