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

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

Issue 1099383002: Change ScopedPtrHashMap's 2nd template parameter (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: 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/common/autofill_regexes.cc
diff --git a/components/autofill/core/common/autofill_regexes.cc b/components/autofill/core/common/autofill_regexes.cc
index 64a60f6c29ce01ed233ff7f432911434413f62af..64de9f4a1565b488440f011732c6a2fd754d35da 100644
--- a/components/autofill/core/common/autofill_regexes.cc
+++ b/components/autofill/core/common/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