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

Unified Diff: content/child/resource_dispatcher.cc

Issue 2114213002: Fix loading placeholders for Lo-Fi (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: whitespace fix and rebase Created 4 years, 5 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/child/resource_dispatcher.cc
diff --git a/content/child/resource_dispatcher.cc b/content/child/resource_dispatcher.cc
index 461da5c1df50f68a0d405c6029f1ffc888e1643f..e5d0160faf01a15de2dc2584b2e0cfbda5d412fd 100644
--- a/content/child/resource_dispatcher.cc
+++ b/content/child/resource_dispatcher.cc
@@ -764,6 +764,7 @@ std::unique_ptr<ResourceRequest> ResourceDispatcher::CreateRequest(
request->enable_upload_progress = request_info.enable_upload_progress;
request->do_not_prompt_for_login = request_info.do_not_prompt_for_login;
request->report_raw_headers = request_info.report_raw_headers;
+ request->lofi_state = request_info.lofi_state;
if ((request_info.referrer.policy == blink::WebReferrerPolicyDefault ||
request_info.referrer.policy ==
@@ -799,7 +800,6 @@ std::unique_ptr<ResourceRequest> ResourceDispatcher::CreateRequest(
extra_data->service_worker_provider_id();
request->originated_from_service_worker =
extra_data->originated_from_service_worker();
- request->lofi_state = extra_data->lofi_state();
request->request_body = request_body;
request->resource_body_stream_url = request_info.resource_body_stream_url;
request->initiated_in_secure_context =

Powered by Google App Engine
This is Rietveld 408576698