Index: chrome/browser/gtk/accelerators_gtk.cc |
diff --git a/chrome/browser/gtk/accelerators_gtk.cc b/chrome/browser/gtk/accelerators_gtk.cc |
index c0a2f73e14e5fb6608d0107be47f68c9d4425731..5456b0d5ada81512f49511357e13a876e13781ef 100644 |
--- a/chrome/browser/gtk/accelerators_gtk.cc |
+++ b/chrome/browser/gtk/accelerators_gtk.cc |
@@ -8,6 +8,7 @@ |
#include <gdk/gdkkeysyms.h> |
#include <X11/XF86keysym.h> |
+#include "base/singleton.h" |
#include "chrome/app/chrome_command_ids.h" |
namespace { |
@@ -190,6 +191,11 @@ AcceleratorsGtk::AcceleratorsGtk() { |
AcceleratorsGtk::~AcceleratorsGtk() {} |
+// static |
+AcceleratorsGtk* AcceleratorsGtk::GetInstance() { |
+ return Singleton<AcceleratorsGtk>::get(); |
+} |
+ |
const menus::AcceleratorGtk* AcceleratorsGtk::GetPrimaryAcceleratorForCommand( |
int command_id) { |
base::hash_map<int, menus::AcceleratorGtk>::const_iterator iter = |