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

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

Issue 1308823002: Move Singleton and related structs to namespace base (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: ToT Created 5 years, 3 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 64de9f4a1565b488440f011732c6a2fd754d35da..cdea63cb5c83c1ab3bca8008a6fa2fe0c44b7a73 100644
--- a/components/autofill/core/common/autofill_regexes.cc
+++ b/components/autofill/core/common/autofill_regexes.cc
@@ -24,7 +24,7 @@ class AutofillRegexes {
private:
AutofillRegexes();
~AutofillRegexes();
- friend struct DefaultSingletonTraits<AutofillRegexes>;
+ friend struct base::DefaultSingletonTraits<AutofillRegexes>;
// Maps patterns to their corresponding regex matchers.
base::ScopedPtrHashMap<base::string16, scoped_ptr<icu::RegexMatcher>>
@@ -35,7 +35,7 @@ class AutofillRegexes {
// static
AutofillRegexes* AutofillRegexes::GetInstance() {
- return Singleton<AutofillRegexes>::get();
+ return base::Singleton<AutofillRegexes>::get();
}
AutofillRegexes::AutofillRegexes() {
« no previous file with comments | « components/autofill/core/browser/autofill_country.cc ('k') | components/devtools_discovery/devtools_discovery_manager.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698