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

Unified Diff: components/url_matcher/regex_set_matcher.h

Issue 2443753003: Remove stl_util's deletion function use from components/url_matcher/. (Closed)
Patch Set: battre Created 4 years, 2 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 | « no previous file | components/url_matcher/regex_set_matcher.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/url_matcher/regex_set_matcher.h
diff --git a/components/url_matcher/regex_set_matcher.h b/components/url_matcher/regex_set_matcher.h
index 0f9e52b26f5dcff8304b9e0975e7e1406b313fe7..4be90dce1915a4b379182104ccfba55e7c467de3 100644
--- a/components/url_matcher/regex_set_matcher.h
+++ b/components/url_matcher/regex_set_matcher.h
@@ -75,7 +75,7 @@ class URL_MATCHER_EXPORT RegexSetMatcher {
// The substring patterns from FilteredRE2, which are used in
// |substring_matcher_| but whose lifetime is managed here.
- std::vector<const StringPattern*> substring_patterns_;
+ std::vector<std::unique_ptr<StringPattern>> substring_patterns_;
};
} // namespace url_matcher
« no previous file with comments | « no previous file | components/url_matcher/regex_set_matcher.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698