| Index: ui/base/models/button_menu_item_model.h
|
| diff --git a/ui/base/models/button_menu_item_model.h b/ui/base/models/button_menu_item_model.h
|
| index 9c78b5986c84f1a83a89ed8d8a80a12e9eaf9803..efe3f8f02de8649394790ce335898e3316576a3d 100644
|
| --- a/ui/base/models/button_menu_item_model.h
|
| +++ b/ui/base/models/button_menu_item_model.h
|
| @@ -39,8 +39,9 @@ class UI_BASE_EXPORT ButtonMenuItemModel {
|
|
|
| // Gets the accelerator for the specified command id. Returns true if the
|
| // command id has a valid accelerator, false otherwise.
|
| - virtual bool GetAcceleratorForCommandId(int command_id,
|
| - ui::Accelerator* accelerator) = 0;
|
| + virtual bool GetAcceleratorForCommandId(
|
| + int command_id,
|
| + ui::Accelerator* accelerator) const = 0;
|
|
|
| protected:
|
| virtual ~Delegate() {}
|
|
|