Index: ui/message_center/views/message_center_view.h |
diff --git a/ui/message_center/views/message_center_view.h b/ui/message_center/views/message_center_view.h |
index 25dfdee4c8b2a9567c3d5cadaec5aa5e27314700..6264bb3010c003f0d1907fa3699b1db0c139b352 100644 |
--- a/ui/message_center/views/message_center_view.h |
+++ b/ui/message_center/views/message_center_view.h |
@@ -68,8 +68,8 @@ class MESSAGE_CENTER_EXPORT MessageCenterView : public views::View, |
protected: |
// Overridden from views::View: |
virtual void Layout() OVERRIDE; |
- virtual gfx::Size GetPreferredSize() OVERRIDE; |
- virtual int GetHeightForWidth(int width) OVERRIDE; |
+ virtual gfx::Size GetPreferredSize() const OVERRIDE; |
+ virtual int GetHeightForWidth(int width) const OVERRIDE; |
virtual bool OnMouseWheel(const ui::MouseWheelEvent& event) OVERRIDE; |
virtual void OnMouseExited(const ui::MouseEvent& event) OVERRIDE; |