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

Unified Diff: net/url_request/url_fetcher_core.cc

Issue 2716583003: Rename Origin.unique() to opaque().
Patch Set: Update new uses post-rebase Created 3 years, 4 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 | « media/audio/audio_output_device.cc ('k') | net/url_request/url_request.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 c6db196614f2825c45496beff3a12136e0e8f518..b06976882d6c6161d75a22febf7e76b5b2644d65 100644
--- a/net/url_request/url_fetcher_core.cc
+++ b/net/url_request/url_fetcher_core.cc
@@ -567,7 +567,7 @@ void URLFetcherCore::StartURLRequest() {
request_->SetReferrer(referrer_);
request_->set_referrer_policy(referrer_policy_);
request_->set_site_for_cookies(initiator_.has_value() &&
- !initiator_.value().unique()
+ !initiator_.value().opaque()
? initiator_.value().GetURL()
: original_url_);
request_->set_initiator(initiator_);
« no previous file with comments | « media/audio/audio_output_device.cc ('k') | net/url_request/url_request.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698