| Index: content/child/service_worker/service_worker_dispatcher.cc
|
| diff --git a/content/child/service_worker/service_worker_dispatcher.cc b/content/child/service_worker/service_worker_dispatcher.cc
|
| index bfe4075621b3e16e887ca81b777e92c1d962ed60..21a45bdf1f41ec466bf9c50e96ce7c57fee86249 100644
|
| --- a/content/child/service_worker/service_worker_dispatcher.cc
|
| +++ b/content/child/service_worker/service_worker_dispatcher.cc
|
| @@ -257,12 +257,8 @@ void ServiceWorkerDispatcher::OnUnregistered(
|
| DCHECK(callbacks);
|
| if (!callbacks)
|
| return;
|
| -#ifdef DISABLE_SERVICEWORKER_UNREGISTER_RESOLVE_TO_BOOLEAN
|
| - callbacks->onSuccess(NULL);
|
| -#else
|
| bool is_success = true;
|
| callbacks->onSuccess(&is_success);
|
| -#endif
|
| pending_unregistration_callbacks_.Remove(request_id);
|
| }
|
|
|
|
|