| Index: content/browser/service_worker/service_worker_dispatcher_host.cc
|
| diff --git a/content/browser/service_worker/service_worker_dispatcher_host.cc b/content/browser/service_worker/service_worker_dispatcher_host.cc
|
| index b7705561e80b197bebfd9d906f17e9d507b916ee..8b825f6cf5de718ab1f9c44d1309f48766cf1bd9 100644
|
| --- a/content/browser/service_worker/service_worker_dispatcher_host.cc
|
| +++ b/content/browser/service_worker/service_worker_dispatcher_host.cc
|
| @@ -534,12 +534,14 @@ void ServiceWorkerDispatcherHost::UnregistrationComplete(
|
| int thread_id,
|
| int request_id,
|
| ServiceWorkerStatusCode status) {
|
| - if (status != SERVICE_WORKER_OK) {
|
| + if (status != SERVICE_WORKER_OK && status != SERVICE_WORKER_ERROR_NOT_FOUND) {
|
| SendUnregistrationError(thread_id, request_id, status);
|
| return;
|
| }
|
|
|
| - Send(new ServiceWorkerMsg_ServiceWorkerUnregistered(thread_id, request_id));
|
| + Send(new ServiceWorkerMsg_ServiceWorkerUnregistered(thread_id,
|
| + request_id,
|
| + status));
|
| }
|
|
|
| void ServiceWorkerDispatcherHost::SendRegistrationError(
|
|
|