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

Unified Diff: content/renderer/render_widget.cc

Issue 1308823002: Move Singleton and related structs to namespace base (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: git cl format Created 5 years, 4 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: content/renderer/render_widget.cc
diff --git a/content/renderer/render_widget.cc b/content/renderer/render_widget.cc
index a071d1477ad0e8e6c6e6962b95285a313368c79f..8dfb59d62134b83fbe9c2dc08a124e867ea8573b 100644
--- a/content/renderer/render_widget.cc
+++ b/content/renderer/render_widget.cc
@@ -121,7 +121,7 @@ typedef std::map<std::string, ui::TextInputMode> TextInputModeMap;
class TextInputModeMapSingleton {
public:
static TextInputModeMapSingleton* GetInstance() {
- return Singleton<TextInputModeMapSingleton>::get();
+ return base::Singleton<TextInputModeMapSingleton>::get();
}
TextInputModeMapSingleton() {
map_["verbatim"] = ui::TEXT_INPUT_MODE_VERBATIM;
@@ -140,7 +140,7 @@ class TextInputModeMapSingleton {
private:
TextInputModeMap map_;
- friend struct DefaultSingletonTraits<TextInputModeMapSingleton>;
+ friend struct base::DefaultSingletonTraits<TextInputModeMapSingleton>;
DISALLOW_COPY_AND_ASSIGN(TextInputModeMapSingleton);
};

Powered by Google App Engine
This is Rietveld 408576698