| Index: ui/views/examples/menu_example.cc
|
| diff --git a/ui/views/examples/menu_example.cc b/ui/views/examples/menu_example.cc
|
| index 378c90a76bc00ec2ea86194b5851693ccc39ef20..8f86c615e0152614d8b526f85a7bbf3b2f1f7a93 100644
|
| --- a/ui/views/examples/menu_example.cc
|
| +++ b/ui/views/examples/menu_example.cc
|
| @@ -32,7 +32,7 @@ class ExampleMenuModel : public ui::SimpleMenuModel,
|
| bool IsCommandIdChecked(int command_id) const override;
|
| bool IsCommandIdEnabled(int command_id) const override;
|
| bool GetAcceleratorForCommandId(int command_id,
|
| - ui::Accelerator* accelerator) override;
|
| + ui::Accelerator* accelerator) const override;
|
| void ExecuteCommand(int command_id, int event_flags) override;
|
|
|
| private:
|
| @@ -121,7 +121,7 @@ bool ExampleMenuModel::IsCommandIdEnabled(int command_id) const {
|
|
|
| bool ExampleMenuModel::GetAcceleratorForCommandId(
|
| int command_id,
|
| - ui::Accelerator* accelerator) {
|
| + ui::Accelerator* accelerator) const {
|
| // We don't use this in the example.
|
| return false;
|
| }
|
|
|