Index: ui/views/controls/menu/menu_separator.h |
diff --git a/ui/views/controls/menu/menu_separator.h b/ui/views/controls/menu/menu_separator.h |
index 0967c4a51be3ebdc51baaebe7f7141b318ce6630..da459e2b07a6ede420d9e5f2378024443970d2b9 100644 |
--- a/ui/views/controls/menu/menu_separator.h |
+++ b/ui/views/controls/menu/menu_separator.h |
@@ -21,11 +21,11 @@ class MenuSeparator : public View { |
// View overrides. |
virtual void OnPaint(gfx::Canvas* canvas) OVERRIDE; |
- virtual gfx::Size GetPreferredSize() OVERRIDE; |
+ virtual gfx::Size GetPreferredSize() const OVERRIDE; |
private: |
void OnPaintAura(gfx::Canvas* canvas); |
- gfx::Size GetPreferredSizeAura(); |
+ gfx::Size GetPreferredSizeAura() const; |
// The type of the separator. |
const ui::MenuSeparatorType type_; |