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

Unified Diff: content/shell/browser/shell_content_browser_client.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/shell/browser/shell_content_browser_client.cc
diff --git a/content/shell/browser/shell_content_browser_client.cc b/content/shell/browser/shell_content_browser_client.cc
index 421fe846b6766bd324c055bb49f6ac22f8ee970f..ea3f60ceabcce48eaf6498bdfe04052db7d4705b 100644
--- a/content/shell/browser/shell_content_browser_client.cc
+++ b/content/shell/browser/shell_content_browser_client.cc
@@ -186,7 +186,7 @@ bool ShellContentBrowserClient::DoesSiteRequireDedicatedProcess(
url::Origin origin(effective_site_url);
- if (!origin.unique()) {
+ if (!origin.opaque()) {
// Schemes like blob or filesystem, which have an embedded origin, should
// already have been canonicalized to the origin site.
CHECK_EQ(origin.scheme(), effective_site_url.scheme())

Powered by Google App Engine
This is Rietveld 408576698