Index: ui/base/accelerators/accelerator.h |
diff --git a/ui/base/accelerators/accelerator.h b/ui/base/accelerators/accelerator.h |
index e3f079cb07fe41ee58161f9ae6ce6629cdcdec6e..e1a140f51abd28deac60c0f99877b15bef7cbb4e 100644 |
--- a/ui/base/accelerators/accelerator.h |
+++ b/ui/base/accelerators/accelerator.h |
@@ -118,8 +118,9 @@ class AcceleratorProvider { |
public: |
// 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 ~AcceleratorProvider() {} |