Index: components/subresource_filter/core/common/url_pattern_matching_unittest.cc |
diff --git a/components/subresource_filter/core/common/url_pattern_matching_unittest.cc b/components/subresource_filter/core/common/url_pattern_matching_unittest.cc |
index e87aa081faa0380ed8657653d97a976364194464..738585d58a5931e77c1ff61a3ff6d9e4140a5e68 100644 |
--- a/components/subresource_filter/core/common/url_pattern_matching_unittest.cc |
+++ b/components/subresource_filter/core/common/url_pattern_matching_unittest.cc |
@@ -124,8 +124,8 @@ TEST(UrlPatternMatchingTest, IsMatch) { |
std::vector<size_t> failure; |
BuildFailureFunction(test_case.url_pattern, &failure); |
- const bool is_match = |
- IsMatch(GURL(test_case.url), test_case.url_pattern, failure); |
+ const bool is_match = IsMatch(GURL(test_case.url), test_case.url_pattern, |
+ failure.begin(), failure.end()); |
EXPECT_EQ(test_case.expect_match, is_match); |
} |
} |