| Index: content/browser/service_worker/service_worker_registration.cc
|
| diff --git a/content/browser/service_worker/service_worker_registration.cc b/content/browser/service_worker/service_worker_registration.cc
|
| index 0ccc2e40341d11a9da3e70b6527615385cf314ca..ae48d1dc0f889baa6052bc62e1d2a5c58ee1ed00 100644
|
| --- a/content/browser/service_worker/service_worker_registration.cc
|
| +++ b/content/browser/service_worker/service_worker_registration.cc
|
| @@ -396,6 +396,8 @@ void ServiceWorkerRegistration::DidGetRegistrationsForClaimClients(
|
| bool ServiceWorkerRegistration::ShouldClaim(
|
| ServiceWorkerProviderHost* provider_host,
|
| const std::vector<ServiceWorkerRegistrationInfo>& registrations) {
|
| + if (provider_host->IsHostToRunningServiceWorker())
|
| + return false;
|
| if (provider_host->controlling_version() == active_version())
|
| return false;
|
|
|
|
|