| Index: content/browser/background_sync/background_sync_service_impl.cc
|
| diff --git a/content/browser/background_sync/background_sync_service_impl.cc b/content/browser/background_sync/background_sync_service_impl.cc
|
| index 2bda9e73d2806a738e5015600f701a9bedb1257f..2cef89d720e5d56dbbb562930117527d871ed44e 100644
|
| --- a/content/browser/background_sync/background_sync_service_impl.cc
|
| +++ b/content/browser/background_sync/background_sync_service_impl.cc
|
| @@ -146,13 +146,13 @@ void BackgroundSyncServiceImpl::OnRegisterResult(
|
| void BackgroundSyncServiceImpl::OnGetRegistrationsResult(
|
| const GetRegistrationsCallback& callback,
|
| BackgroundSyncStatus status,
|
| - std::unique_ptr<ScopedVector<BackgroundSyncRegistration>>
|
| + std::unique_ptr<std::vector<std::unique_ptr<BackgroundSyncRegistration>>>
|
| result_registrations) {
|
| DCHECK_CURRENTLY_ON(BrowserThread::IO);
|
| DCHECK(result_registrations);
|
|
|
| std::vector<blink::mojom::SyncRegistrationPtr> mojo_registrations;
|
| - for (const BackgroundSyncRegistration* registration : *result_registrations)
|
| + for (const auto& registration : *result_registrations)
|
| mojo_registrations.push_back(ToMojoRegistration(*registration));
|
|
|
| callback.Run(static_cast<blink::mojom::BackgroundSyncError>(status),
|
|
|