Index: views/controls/textfield/textfield.cc |
=================================================================== |
--- views/controls/textfield/textfield.cc (revision 55911) |
+++ views/controls/textfield/textfield.cc (working copy) |
@@ -225,7 +225,7 @@ |
insets = native_wrapper_->CalculateInsets(); |
return gfx::Size(font_.GetExpectedTextWidth(default_width_in_chars_) + |
insets.width(), |
- num_lines_ * font_.height() + insets.height()); |
+ num_lines_ * font_.GetHeight() + insets.height()); |
} |
bool Textfield::IsFocusable() const { |