Index: ui/views/widget/widget.h |
diff --git a/ui/views/widget/widget.h b/ui/views/widget/widget.h |
index 9ade039d4a3c0e07813d7c0fceffde2d39a091c0..25c6408126f2db0141f517d56301d423ff586e8b 100644 |
--- a/ui/views/widget/widget.h |
+++ b/ui/views/widget/widget.h |
@@ -358,7 +358,7 @@ class VIEWS_EXPORT Widget : public internal::NativeWidgetDelegate, |
// Returns the accelerator given a command id. Returns false if there is |
// no accelerator associated with a given id, which is a common condition. |
- virtual bool GetAccelerator(int cmd_id, ui::Accelerator* accelerator); |
+ virtual bool GetAccelerator(int cmd_id, ui::Accelerator* accelerator) const; |
// Forwarded from the RootView so that the widget can do any cleanup. |
void ViewHierarchyChanged(const View::ViewHierarchyChangedDetails& details); |