| 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 4b1c928c0ee2b6fb23bfd59416a848213e75c43b..bd420c0860c7f5afb2493e27bb96354a03276d42 100644
|
| --- a/content/renderer/background_sync/background_sync_client_impl.cc
|
| +++ b/content/renderer/background_sync/background_sync_client_impl.cc
|
| @@ -70,15 +70,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;
|
| }
|
|
|
|
|