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/child/web_url_loader_impl.cc

Issue 1994173002: Copy priority from original request for redirects (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: 80 char Created 4 years, 7 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
« no previous file with comments | « no previous file | content/child/web_url_loader_impl_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/child/web_url_loader_impl.cc
diff --git a/content/child/web_url_loader_impl.cc b/content/child/web_url_loader_impl.cc
index 53ce2f5e90d1f4e1da4a0ddab5b99f14029a1031..2acc73110f4fa0f5e9ad3f529605c119ca2567b7 100644
--- a/content/child/web_url_loader_impl.cc
+++ b/content/child/web_url_loader_impl.cc
@@ -1105,6 +1105,7 @@ void WebURLLoaderImpl::PopulateURLRequestForRedirect(
new_request->setHTTPReferrer(WebString::fromUTF8(redirect_info.new_referrer),
referrer_policy);
+ new_request->setPriority(request.getPriority());
std::string old_method = request.httpMethod().utf8();
new_request->setHTTPMethod(WebString::fromUTF8(redirect_info.new_method));
« no previous file with comments | « no previous file | content/child/web_url_loader_impl_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698