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

Unified Diff: net/url_request/url_fetcher_core.cc

Issue 51683002: [Net] Assert that URLRequests with LOAD_IGNORE_LIMITS have MAXIMUM_PRIORITY (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Address comments Created 7 years, 1 month 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: net/url_request/url_fetcher_core.cc
diff --git a/net/url_request/url_fetcher_core.cc b/net/url_request/url_fetcher_core.cc
index 113ced755ac5f49ee8c0bec0d944dc80e58a9348..ca00270ab4ae91f878affcbcd79153ec70508ccc 100644
--- a/net/url_request/url_fetcher_core.cc
+++ b/net/url_request/url_fetcher_core.cc
@@ -512,7 +512,7 @@ void URLFetcherCore::StartURLRequest() {
if (is_chunked_upload_)
request_->EnableChunkedUpload();
- request_->set_load_flags(flags);
+ request_->SetLoadFlags(flags);
request_->SetReferrer(referrer_);
request_->set_first_party_for_cookies(first_party_for_cookies_.is_empty() ?
original_url_ : first_party_for_cookies_);

Powered by Google App Engine
This is Rietveld 408576698