| 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 f9d819a709c407e8509b7ea8b200b9cb4beb5ee2..44b3aa5099d9e29e0dd70f6b9bc5b7bbacd6d6dc 100644
|
| --- a/content/browser/background_sync/background_sync_manager.cc
|
| +++ b/content/browser/background_sync/background_sync_manager.cc
|
| @@ -528,8 +528,8 @@ void BackgroundSyncManager::RegisterDidAskForPermission(
|
| base::ThreadTaskRunnerHandle::Get()->PostTask(
|
| FROM_HERE,
|
| base::Bind(callback, BACKGROUND_SYNC_STATUS_OK,
|
| - base::Passed(base::WrapUnique(new BackgroundSyncRegistration(
|
| - *existing_registration)))));
|
| + base::Passed(base::MakeUnique<BackgroundSyncRegistration>(
|
| + *existing_registration))));
|
| return;
|
| }
|
|
|
| @@ -700,8 +700,8 @@ void BackgroundSyncManager::RegisterDidStore(
|
| base::ThreadTaskRunnerHandle::Get()->PostTask(
|
| FROM_HERE,
|
| base::Bind(callback, BACKGROUND_SYNC_STATUS_OK,
|
| - base::Passed(base::WrapUnique(
|
| - new BackgroundSyncRegistration(new_registration)))));
|
| + base::Passed(base::MakeUnique<BackgroundSyncRegistration>(
|
| + new_registration))));
|
| }
|
|
|
| void BackgroundSyncManager::RemoveActiveRegistration(int64_t sw_registration_id,
|
|
|