Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(251)

Unified Diff: ui/views/controls/textfield/native_textfield_gtk.cc

Issue 8909002: views: Convert IsEnabled() to just enabled() since it's just a simple accessor. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 9 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « ui/views/controls/table/table_view.cc ('k') | ui/views/controls/textfield/native_textfield_views.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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..0aa4c98367aab5d174447d4679b8181c40e9045c 100644
--- a/ui/views/controls/textfield/native_textfield_gtk.cc
+++ b/ui/views/controls/textfield/native_textfield_gtk.cc
@@ -175,7 +175,7 @@ void NativeTextfieldGtk::UpdateIsPassword() {
void NativeTextfieldGtk::UpdateEnabled() {
if (!native_view())
return;
- SetEnabled(textfield_->IsEnabled());
+ SetEnabled(textfield_->enabled());
}
gfx::Insets NativeTextfieldGtk::CalculateInsets() {
« no previous file with comments | « ui/views/controls/table/table_view.cc ('k') | ui/views/controls/textfield/native_textfield_views.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698