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

Unified Diff: ui/base/x/x11_menu_list.h

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
« no previous file with comments | « ui/base/x/x11_foreign_window_manager.cc ('k') | ui/base/x/x11_menu_list.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/base/x/x11_menu_list.h
diff --git a/ui/base/x/x11_menu_list.h b/ui/base/x/x11_menu_list.h
index 9946fd6d93f4205a92fbcd49365d80cc638f44b5..00c824e6a666edab6db373532fad1dbe3de62a4b 100644
--- a/ui/base/x/x11_menu_list.h
+++ b/ui/base/x/x11_menu_list.h
@@ -12,7 +12,9 @@
#include "ui/gfx/x/x11_types.h"
// A process wide singleton cache for X menus.
+namespace base {
template <typename T> struct DefaultSingletonTraits;
+}
namespace ui {
@@ -32,7 +34,7 @@ class UI_BASE_EXPORT XMenuList {
void InsertMenuWindowXIDs(std::vector<XID>* stack);
private:
- friend struct DefaultSingletonTraits<XMenuList>;
+ friend struct base::DefaultSingletonTraits<XMenuList>;
XMenuList();
~XMenuList();
« no previous file with comments | « ui/base/x/x11_foreign_window_manager.cc ('k') | ui/base/x/x11_menu_list.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698