Index: ui/views/controls/textfield/textfield.h |
diff --git a/ui/views/controls/textfield/textfield.h b/ui/views/controls/textfield/textfield.h |
index 431ceef6c86a74f5fb0143a3b59f93c30214a8b1..ea0bb767f007095a387b4a509332855acc4e750f 100644 |
--- a/ui/views/controls/textfield/textfield.h |
+++ b/ui/views/controls/textfield/textfield.h |
@@ -188,7 +188,7 @@ class VIEWS_EXPORT Textfield : public View, |
// View overrides: |
virtual int GetBaseline() const OVERRIDE; |
- virtual gfx::Size GetPreferredSize() OVERRIDE; |
+ virtual gfx::Size GetPreferredSize() const OVERRIDE; |
virtual const char* GetClassName() const OVERRIDE; |
virtual gfx::NativeCursor GetCursor(const ui::MouseEvent& event) OVERRIDE; |
virtual bool OnMousePressed(const ui::MouseEvent& event) OVERRIDE; |