Index: components/url_pattern_index/url_rule_test_support.cc |
diff --git a/components/url_pattern_index/url_rule_test_support.cc b/components/url_pattern_index/url_rule_test_support.cc |
index 9f2a462d372f372cdcbda5c04e395a06642808ee..cc0e6774c0875a3f9d1f8d4c36280c9c8418c093 100644 |
--- a/components/url_pattern_index/url_rule_test_support.cc |
+++ b/components/url_pattern_index/url_rule_test_support.cc |
@@ -46,7 +46,7 @@ url::Origin GetOrigin(base::StringPiece origin_string) { |
} |
bool IsThirdParty(const GURL& url, const url::Origin& first_party_origin) { |
- return first_party_origin.unique() || |
+ return first_party_origin.opaque() || |
!net::registry_controlled_domains::SameDomainOrHost( |
url, first_party_origin, |
net::registry_controlled_domains::INCLUDE_PRIVATE_REGISTRIES); |