| Index: content/renderer/background_sync/background_sync_client_impl.cc
|
| diff --git a/content/renderer/background_sync/background_sync_client_impl.cc b/content/renderer/background_sync/background_sync_client_impl.cc
|
| index 24630e35c24592f23132d447cd59aa910402379d..80962f14d7676c251e69a62ed51e5e85b7fa32a2 100644
|
| --- a/content/renderer/background_sync/background_sync_client_impl.cc
|
| +++ b/content/renderer/background_sync/background_sync_client_impl.cc
|
| @@ -75,15 +75,15 @@ void BackgroundSyncClientImpl::SyncDidGetRegistration(
|
| callback = it->second;
|
| sync_callbacks_.erase(it);
|
|
|
| - if (error != BACKGROUND_SYNC_ERROR_NONE) {
|
| - callback.Run(SERVICE_WORKER_EVENT_STATUS_ABORTED);
|
| + if (error != BackgroundSyncError::NONE) {
|
| + callback.Run(ServiceWorkerEventStatus::ABORTED);
|
| return;
|
| }
|
|
|
| ServiceWorkerContextClient* client =
|
| ServiceWorkerContextClient::ThreadSpecificInstance();
|
| if (!client) {
|
| - callback.Run(SERVICE_WORKER_EVENT_STATUS_ABORTED);
|
| + callback.Run(ServiceWorkerEventStatus::ABORTED);
|
| return;
|
| }
|
|
|
|
|