| Index: content/browser/service_worker/service_worker_provider_host.cc
|
| diff --git a/content/browser/service_worker/service_worker_provider_host.cc b/content/browser/service_worker/service_worker_provider_host.cc
|
| index fe9cd8b4e1dd91a850d1c936cd2c9a1f8b80d8e4..67b10a78ecc5f67db3558614ad66363396779441 100644
|
| --- a/content/browser/service_worker/service_worker_provider_host.cc
|
| +++ b/content/browser/service_worker/service_worker_provider_host.cc
|
| @@ -289,7 +289,7 @@ void ServiceWorkerProviderHost::AddMatchingRegistration(
|
| if (!IsContextSecureForServiceWorker())
|
| return;
|
| size_t key = registration->pattern().spec().size();
|
| - if (ContainsKey(matching_registrations_, key))
|
| + if (base::ContainsKey(matching_registrations_, key))
|
| return;
|
| IncreaseProcessReference(registration->pattern());
|
| registration->AddListener(this);
|
| @@ -300,7 +300,7 @@ void ServiceWorkerProviderHost::AddMatchingRegistration(
|
| void ServiceWorkerProviderHost::RemoveMatchingRegistration(
|
| ServiceWorkerRegistration* registration) {
|
| size_t key = registration->pattern().spec().size();
|
| - DCHECK(ContainsKey(matching_registrations_, key));
|
| + DCHECK(base::ContainsKey(matching_registrations_, key));
|
| DecreaseProcessReference(registration->pattern());
|
| registration->RemoveListener(this);
|
| matching_registrations_.erase(key);
|
|
|