| Index: content/common/service_worker/service_worker_type_converters.cc
|
| diff --git a/content/common/service_worker/service_worker_type_converters.cc b/content/common/service_worker/service_worker_type_converters.cc
|
| index 735f529a93263aa95c14e31035ce1d892829a315..cffec7399125b52d62ad5134b3cf0bbdec8f4ff3 100644
|
| --- a/content/common/service_worker/service_worker_type_converters.cc
|
| +++ b/content/common/service_worker/service_worker_type_converters.cc
|
| @@ -15,11 +15,11 @@ TypeConverter<content::ServiceWorkerStatusCode,
|
| content::ServiceWorkerEventStatus>::
|
| Convert(content::ServiceWorkerEventStatus status) {
|
| content::ServiceWorkerStatusCode status_code;
|
| - if (status == content::SERVICE_WORKER_EVENT_STATUS_COMPLETED) {
|
| + if (status == content::ServiceWorkerEventStatus::COMPLETED) {
|
| status_code = content::SERVICE_WORKER_OK;
|
| - } else if (status == content::SERVICE_WORKER_EVENT_STATUS_REJECTED) {
|
| + } else if (status == content::ServiceWorkerEventStatus::REJECTED) {
|
| status_code = content::SERVICE_WORKER_ERROR_EVENT_WAITUNTIL_REJECTED;
|
| - } else if (status == content::SERVICE_WORKER_EVENT_STATUS_ABORTED) {
|
| + } else if (status == content::ServiceWorkerEventStatus::ABORTED) {
|
| status_code = content::SERVICE_WORKER_ERROR_ABORT;
|
| } else {
|
| // We received an unexpected value back. This can theoretically happen as
|
|
|