Index: content/common/content_security_policy/csp_context.cc |
diff --git a/content/common/content_security_policy/csp_context.cc b/content/common/content_security_policy/csp_context.cc |
index 4fd6b8a24e1befe71d148aeec473f16a65a4b776..b2d4164248b3d12cf41cf4219ecab31c718aa68e 100644 |
--- a/content/common/content_security_policy/csp_context.cc |
+++ b/content/common/content_security_policy/csp_context.cc |
@@ -70,9 +70,9 @@ bool CSPContext::ShouldModifyRequestUrlForCsp( |
void CSPContext::SetSelf(const url::Origin origin) { |
self_source_.reset(); |
- // When the origin is unique, no URL should match with 'self'. That's why |
+ // When the origin is opaque, no URL should match with 'self'. That's why |
// |self_source_| stays undefined here. |
- if (origin.unique()) |
+ if (origin.opaque()) |
return; |
if (origin.scheme() == url::kFileScheme) { |