Index: content/browser/background_fetch/background_fetch_context.cc |
diff --git a/content/browser/background_fetch/background_fetch_context.cc b/content/browser/background_fetch/background_fetch_context.cc |
index ede338ba8117284a520a2d637d0b9d044780851f..d71a9a5674553cd52e9c5c1226e883ff54fa7ff4 100644 |
--- a/content/browser/background_fetch/background_fetch_context.cc |
+++ b/content/browser/background_fetch/background_fetch_context.cc |
@@ -81,7 +81,7 @@ void BackgroundFetchContext::DidCreateRegistration( |
const BackgroundFetchOptions& options, |
const blink::mojom::BackgroundFetchService::FetchCallback& callback, |
blink::mojom::BackgroundFetchError error, |
- std::vector<BackgroundFetchRequestInfo> initial_requests) { |
+ std::vector<scoped_refptr<BackgroundFetchRequestInfo>> initial_requests) { |
RecordRegistrationCreatedError(error); |
if (error != blink::mojom::BackgroundFetchError::NONE) { |
callback.Run(error, base::nullopt /* registration */); |
@@ -142,7 +142,7 @@ BackgroundFetchJobController* BackgroundFetchContext::GetActiveFetch( |
void BackgroundFetchContext::CreateController( |
const BackgroundFetchRegistrationId& registration_id, |
const BackgroundFetchOptions& options, |
- std::vector<BackgroundFetchRequestInfo> initial_requests) { |
+ std::vector<scoped_refptr<BackgroundFetchRequestInfo>> initial_requests) { |
std::unique_ptr<BackgroundFetchJobController> controller = |
base::MakeUnique<BackgroundFetchJobController>( |
registration_id, options, data_manager_.get(), browser_context_, |