Index: content/browser/background_fetch/background_fetch_job_controller.cc |
diff --git a/content/browser/background_fetch/background_fetch_job_controller.cc b/content/browser/background_fetch/background_fetch_job_controller.cc |
index 5d7ddab5a99594ffefdc513ce0a75dc73db673bb..0e045cf0afafb873df690658ad9921b0e3e4fc48 100644 |
--- a/content/browser/background_fetch/background_fetch_job_controller.cc |
+++ b/content/browser/background_fetch/background_fetch_job_controller.cc |
@@ -130,7 +130,7 @@ void BackgroundFetchJobController::ProcessRequest( |
// Set up the download parameters and the OnStartedCallback. |
std::unique_ptr<DownloadUrlParameters> params( |
base::MakeUnique<DownloadUrlParameters>( |
- fetch_request.url(), storage_partition_->GetURLRequestContext())); |
+ fetch_request.GetURL(), storage_partition_->GetURLRequestContext())); |
params->set_callback( |
base::Bind(&BackgroundFetchJobController::DownloadStarted, |
weak_ptr_factory_.GetWeakPtr(), fetch_request.guid())); |