Index: ui/views/controls/textfield/textfield.cc |
diff --git a/ui/views/controls/textfield/textfield.cc b/ui/views/controls/textfield/textfield.cc |
index 74395f29eea8f5acdb33f177af363fe990b83197..ffbabe0293fd7f5bf30d1ed85dd038742815a80e 100644 |
--- a/ui/views/controls/textfield/textfield.cc |
+++ b/ui/views/controls/textfield/textfield.cc |
@@ -117,7 +117,7 @@ void Textfield::SetPassword(bool password) { |
ui::TextInputType Textfield::GetTextInputType() const { |
- if (read_only() || !IsEnabled()) |
+ if (read_only() || !enabled()) |
return ui::TEXT_INPUT_TYPE_NONE; |
return text_input_type_; |
} |