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

Unified Diff: components/autofill/core/browser/autofill_regexes.cc

Issue 1099383002: Change ScopedPtrHashMap's 2nd template parameter (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix build after rebase Created 5 years, 8 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/autofill/core/browser/autofill_regexes.cc
diff --git a/components/autofill/core/browser/autofill_regexes.cc b/components/autofill/core/browser/autofill_regexes.cc
index bd5c0e9427638ad14b6bf420a8d402989c5cb96e..e6ebffcedd30ca7b6cd5c42708865639fe5f3dc1 100644
--- a/components/autofill/core/browser/autofill_regexes.cc
+++ b/components/autofill/core/browser/autofill_regexes.cc
@@ -27,7 +27,8 @@ class AutofillRegexes {
friend struct DefaultSingletonTraits<AutofillRegexes>;
// Maps patterns to their corresponding regex matchers.
- base::ScopedPtrHashMap<base::string16, icu::RegexMatcher> matchers_;
+ base::ScopedPtrHashMap<base::string16, scoped_ptr<icu::RegexMatcher>>
+ matchers_;
DISALLOW_COPY_AND_ASSIGN(AutofillRegexes);
};

Powered by Google App Engine
This is Rietveld 408576698