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

Unified Diff: content/browser/isolated_origin_util.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
Index: content/browser/isolated_origin_util.cc
diff --git a/content/browser/isolated_origin_util.cc b/content/browser/isolated_origin_util.cc
index fe25348a6522400377f07382be5055f973157fcb..9086edb778a308456fe5676b45d8e5f9a4f05c36 100644
--- a/content/browser/isolated_origin_util.cc
+++ b/content/browser/isolated_origin_util.cc
@@ -31,7 +31,7 @@ bool IsolatedOriginUtil::DoesOriginMatchIsolatedOrigin(
// static
bool IsolatedOriginUtil::IsValidIsolatedOrigin(const url::Origin& origin) {
- if (origin.unique())
+ if (origin.opaque())
return false;
// Isolated origins should have HTTP or HTTPS schemes. Hosts in other
« no previous file with comments | « content/browser/indexed_db/indexed_db_dispatcher_host.cc ('k') | content/browser/renderer_host/database_message_filter.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698