| Index: content/browser/background_sync/background_sync_manager.cc
|
| diff --git a/content/browser/background_sync/background_sync_manager.cc b/content/browser/background_sync/background_sync_manager.cc
|
| index f2b6de7fe67e8ad9ffe093b6e12ba3e09133b099..91499c2e1da46057bef1be3236ed7f2d63ab660c 100644
|
| --- a/content/browser/background_sync/background_sync_manager.cc
|
| +++ b/content/browser/background_sync/background_sync_manager.cc
|
| @@ -575,7 +575,7 @@ void BackgroundSyncManager::DisableAndClearDidGetRegistrations(
|
|
|
| for (const auto& sw_id_and_regs : user_data) {
|
| service_worker_context_->ClearRegistrationUserData(
|
| - sw_id_and_regs.first, kBackgroundSyncUserDataKey,
|
| + sw_id_and_regs.first, {kBackgroundSyncUserDataKey},
|
| base::Bind(&BackgroundSyncManager::DisableAndClearManagerClearedOne,
|
| weak_ptr_factory_.GetWeakPtr(), barrier_closure));
|
| }
|
| @@ -722,7 +722,7 @@ void BackgroundSyncManager::StoreDataInBackend(
|
| DCHECK_CURRENTLY_ON(BrowserThread::IO);
|
|
|
| service_worker_context_->StoreRegistrationUserData(
|
| - sw_registration_id, origin, backend_key, data, callback);
|
| + sw_registration_id, origin, {{backend_key, data}}, callback);
|
| }
|
|
|
| void BackgroundSyncManager::GetDataFromBackend(
|
|
|