| Index: ui/views/controls/textfield/native_textfield_gtk.cc
|
| diff --git a/ui/views/controls/textfield/native_textfield_gtk.cc b/ui/views/controls/textfield/native_textfield_gtk.cc
|
| index 3bab2a10df2f1c9574c112cf3348ba2fcf195cf6..dd6011a00195a01f2d67696bcb25542ea341ad33 100644
|
| --- a/ui/views/controls/textfield/native_textfield_gtk.cc
|
| +++ b/ui/views/controls/textfield/native_textfield_gtk.cc
|
| @@ -166,10 +166,10 @@ void NativeTextfieldGtk::UpdateFont() {
|
| pango_font_description_free(pfd);
|
| }
|
|
|
| -void NativeTextfieldGtk::UpdateIsPassword() {
|
| +void NativeTextfieldGtk::UpdateIsObscured() {
|
| if (!native_view())
|
| return;
|
| - gtk_entry_set_visibility(GTK_ENTRY(native_view()), !textfield_->IsPassword());
|
| + gtk_entry_set_visibility(GTK_ENTRY(native_view()), !textfield_->IsObscured());
|
| }
|
|
|
| void NativeTextfieldGtk::UpdateEnabled() {
|
| @@ -420,8 +420,8 @@ void NativeTextfieldGtk::NativeControlCreated(GtkWidget* widget) {
|
| G_CALLBACK(OnKeyPressEventAfterThunk), this);
|
| }
|
|
|
| -bool NativeTextfieldGtk::IsPassword() {
|
| - return textfield_->IsPassword();
|
| +bool NativeTextfieldGtk::IsObscured() {
|
| + return textfield_->IsObscured();
|
| }
|
|
|
| ///////////////////////////////////////////////////////////////////////////////
|
|
|