Chromium Code Reviews

Unified Diff: chrome/browser/gtk/tabs/tab_gtk.cc

Issue 5711001: Add a new GetInstance() method for remaining files with singleton classes under chrome/browser. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: . Created 10 years ago
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View side-by-side diff with in-line comments
Index: chrome/browser/gtk/tabs/tab_gtk.cc
diff --git a/chrome/browser/gtk/tabs/tab_gtk.cc b/chrome/browser/gtk/tabs/tab_gtk.cc
index 958498df7c5eb17a0513b39d646ba4ad4bf88ba4..41725695dfdbb14c34122d78e681939c4a6395d8 100644
--- a/chrome/browser/gtk/tabs/tab_gtk.cc
+++ b/chrome/browser/gtk/tabs/tab_gtk.cc
@@ -69,7 +69,7 @@ class TabGtk::ContextMenuController : public menus::SimpleMenuModel::Delegate,
&browser_command))
return false;
const menus::AcceleratorGtk* accelerator_gtk =
- Singleton<AcceleratorsGtk>()->GetPrimaryAcceleratorForCommand(
+ AcceleratorsGtk::GetInstance()->GetPrimaryAcceleratorForCommand(
browser_command);
if (accelerator_gtk)
*accelerator = *accelerator_gtk;

Powered by Google App Engine