Index: ui/views/controls/menu/menu_delegate.h |
diff --git a/ui/views/controls/menu/menu_delegate.h b/ui/views/controls/menu/menu_delegate.h |
index 24b708d08957f667877d39746f2bb60e6057e474..7f4b74fb53c4b679c0d2372f222b1349d48c8fde 100644 |
--- a/ui/views/controls/menu/menu_delegate.h |
+++ b/ui/views/controls/menu/menu_delegate.h |
@@ -103,7 +103,7 @@ class VIEWS_EXPORT MenuDelegate { |
// If there is an accelerator for the menu item with id |id| it is set in |
// |accelerator| and true is returned. |
- virtual bool GetAccelerator(int id, ui::Accelerator* accelerator); |
+ virtual bool GetAccelerator(int id, ui::Accelerator* accelerator) const; |
// Shows the context menu with the specified id. This is invoked when the |
// user does the appropriate gesture to show a context menu. The id |