Index: components/subresource_filter/core/common/fuzzy_pattern_matching_unittest.cc |
diff --git a/components/subresource_filter/core/common/fuzzy_pattern_matching_unittest.cc b/components/subresource_filter/core/common/fuzzy_pattern_matching_unittest.cc |
index 8c7a744ed8cfbad17808837ba1853bc1a42c62be..b55ffd135241fc258e9623dbaefb90331ff8968b 100644 |
--- a/components/subresource_filter/core/common/fuzzy_pattern_matching_unittest.cc |
+++ b/components/subresource_filter/core/common/fuzzy_pattern_matching_unittest.cc |
@@ -93,7 +93,7 @@ TEST(FuzzyPatternMatchingTest, AllOccurrences) { |
std::vector<size_t> failure; |
BuildFailureFunctionFuzzy(test_case.subpattern, &failure); |
- const auto& occurrences = AllOccurrencesFuzzy( |
+ const auto& occurrences = AllOccurrencesFuzzy<size_t>( |
test_case.text, test_case.subpattern, failure.data()); |
std::vector<size_t> matches(occurrences.begin(), occurrences.end()); |
EXPECT_EQ(test_case.expected_matches, matches); |