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 ded0a37bb3a92b2f18ac5f5111642223beeb576d..fa939dc35cf206f2fbde89aba070068304ced396 100644 |
--- a/content/browser/service_worker/service_worker_dispatcher_host.cc |
+++ b/content/browser/service_worker/service_worker_dispatcher_host.cc |
@@ -157,7 +157,7 @@ void ServiceWorkerDispatcherHost::OnRegisterServiceWorker( |
Send(new ServiceWorkerMsg_ServiceWorkerRegistrationError( |
thread_id, |
request_id, |
- WebServiceWorkerError::DisabledError, |
+ WebServiceWorkerError::ErrorTypeDisabled, |
base::ASCIIToUTF16(kDisabledErrorMessage))); |
return; |
} |
@@ -169,7 +169,7 @@ void ServiceWorkerDispatcherHost::OnRegisterServiceWorker( |
Send(new ServiceWorkerMsg_ServiceWorkerRegistrationError( |
thread_id, |
request_id, |
- WebServiceWorkerError::SecurityError, |
+ WebServiceWorkerError::ErrorTypeSecurity, |
base::ASCIIToUTF16(kDomainMismatchErrorMessage))); |
return; |
} |
@@ -204,7 +204,7 @@ void ServiceWorkerDispatcherHost::OnUnregisterServiceWorker( |
Send(new ServiceWorkerMsg_ServiceWorkerRegistrationError( |
thread_id, |
request_id, |
- blink::WebServiceWorkerError::DisabledError, |
+ blink::WebServiceWorkerError::ErrorTypeDisabled, |
base::ASCIIToUTF16(kDisabledErrorMessage))); |
return; |
} |