| Index: content/browser/service_worker/service_worker_context_core.cc
|
| diff --git a/content/browser/service_worker/service_worker_context_core.cc b/content/browser/service_worker/service_worker_context_core.cc
|
| index cd1abb63b7a6a3a410fc38fc54df8f1eeb731ef6..d787d5c1d9e71227ef5df1d4b66fd1540badb902 100644
|
| --- a/content/browser/service_worker/service_worker_context_core.cc
|
| +++ b/content/browser/service_worker/service_worker_context_core.cc
|
| @@ -509,7 +509,9 @@ ServiceWorkerRegistration* ServiceWorkerContextCore::GetLiveRegistration(
|
|
|
| void ServiceWorkerContextCore::AddLiveRegistration(
|
| ServiceWorkerRegistration* registration) {
|
| - DCHECK(!GetLiveRegistration(registration->id()));
|
| + // TODO(nhiroki): Change CHECK to DCHECK after https://crbug.com/619294 is
|
| + // fixed.
|
| + CHECK(!GetLiveRegistration(registration->id()));
|
| live_registrations_[registration->id()] = registration;
|
| if (observer_list_.get()) {
|
| observer_list_->Notify(FROM_HERE,
|
|
|