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

Unified Diff: components/subresource_filter/core/common/first_party_origin_unittest.cc

Issue 2691393002: Fix auto raw pointer deduction on linux (Closed)
Patch Set: rebase 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: components/subresource_filter/core/common/first_party_origin_unittest.cc
diff --git a/components/subresource_filter/core/common/first_party_origin_unittest.cc b/components/subresource_filter/core/common/first_party_origin_unittest.cc
index 02ba3026486bb813bfc9f16a6c7389e2c19c4c0d..b8f02e17126344a4ba733989579d405c7e103b91 100644
--- a/components/subresource_filter/core/common/first_party_origin_unittest.cc
+++ b/components/subresource_filter/core/common/first_party_origin_unittest.cc
@@ -72,7 +72,7 @@ TEST(FirstPartyOriginTest, EmptyHostUrls) {
};
FirstPartyOrigin first_party(url::Origin(GURL("https://example.com")));
- for (const auto& url_string : kUrls) {
+ for (auto* url_string : kUrls) {
GURL url(url_string);
EXPECT_TRUE(FirstPartyOrigin::IsThirdParty(url, first_party.origin()));
EXPECT_TRUE(first_party.IsThirdParty(url));

Powered by Google App Engine
This is Rietveld 408576698