| 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 eba1997a7d5566ae516242c61734906eddb110d8..f436f95c38f488003d691e93a13abbf5043b2915 100644
|
| --- a/content/browser/service_worker/service_worker_registration.cc
|
| +++ b/content/browser/service_worker/service_worker_registration.cc
|
| @@ -34,13 +34,13 @@ ServiceWorkerRegistration::ServiceWorkerRegistration(
|
| should_activate_when_ready_(false),
|
| resources_total_size_bytes_(0),
|
| context_(context) {
|
| - DCHECK(BrowserThread::CurrentlyOn(BrowserThread::IO));
|
| + DCHECK_CURRENTLY_ON(BrowserThread::IO);
|
| DCHECK(context_);
|
| context_->AddLiveRegistration(this);
|
| }
|
|
|
| ServiceWorkerRegistration::~ServiceWorkerRegistration() {
|
| - DCHECK(BrowserThread::CurrentlyOn(BrowserThread::IO));
|
| + DCHECK_CURRENTLY_ON(BrowserThread::IO);
|
| DCHECK(!listeners_.might_have_observers());
|
| if (context_)
|
| context_->RemoveLiveRegistration(registration_id_);
|
| @@ -73,7 +73,7 @@ void ServiceWorkerRegistration::NotifyUpdateFound() {
|
| }
|
|
|
| ServiceWorkerRegistrationInfo ServiceWorkerRegistration::GetInfo() {
|
| - DCHECK(BrowserThread::CurrentlyOn(BrowserThread::IO));
|
| + DCHECK_CURRENTLY_ON(BrowserThread::IO);
|
| return ServiceWorkerRegistrationInfo(
|
| pattern(),
|
| registration_id_,
|
|
|