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

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

Issue 2153743002: Save failure function to FlatBuffer. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Add newline. Created 4 years, 5 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
« no previous file with comments | « components/subresource_filter/core/common/url_pattern_matching.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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);
}
}
« no previous file with comments | « components/subresource_filter/core/common/url_pattern_matching.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698