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

Unified Diff: content/shell/browser/shell_content_browser_client.cc

Issue 2716583003: Rename Origin.unique() to opaque().
Patch Set: Mac fixes Created 3 years, 10 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 addc6f2d158b1946b38345ae4e7f546c89ab2669..5704e9d393d1dcffeec176a964e20af90d5a43cf 100644
--- a/content/shell/browser/shell_content_browser_client.cc
+++ b/content/shell/browser/shell_content_browser_client.cc
@@ -162,7 +162,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