Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(83)

Unified Diff: content/browser/background_fetch/background_fetch_job_response_data.cc

Issue 2778793002: Start aligning BackgroundFetchRequestInfo with the passed in request object. (Closed)
Patch Set: Rebase Created 3 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: content/browser/background_fetch/background_fetch_job_response_data.cc
diff --git a/content/browser/background_fetch/background_fetch_job_response_data.cc b/content/browser/background_fetch/background_fetch_job_response_data.cc
index d081de171eecf8ed1a9ebbe386b616c8bffa82b4..7c7989b96caa4a955751ebf9b4ce1198712b0d15 100644
--- a/content/browser/background_fetch/background_fetch_job_response_data.cc
+++ b/content/browser/background_fetch/background_fetch_job_response_data.cc
@@ -22,7 +22,7 @@ void BackgroundFetchJobResponseData::AddResponse(
const BackgroundFetchRequestInfo& request_info,
std::unique_ptr<BlobHandle> response) {
auto urls = base::MakeUnique<std::vector<GURL>>(std::vector<GURL>());
- urls->push_back(request_info.url());
+ urls->push_back(request_info.GetURL());
// TODO(harkness): Fill in headers and status code/text.
auto headers = base::MakeUnique<ServiceWorkerHeaderMap>();

Powered by Google App Engine
This is Rietveld 408576698