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

Unified Diff: ui/views/controls/combobox/native_combobox_views.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
Index: ui/views/controls/combobox/native_combobox_views.cc
diff --git a/ui/views/controls/combobox/native_combobox_views.cc b/ui/views/controls/combobox/native_combobox_views.cc
index cb5e1ce8f7521f581467652f2bd5b33f99a2e5a5..929a84f88cf0ca3523d3970f30be46dfdf599cbc 100644
--- a/ui/views/controls/combobox/native_combobox_views.cc
+++ b/ui/views/controls/combobox/native_combobox_views.cc
@@ -190,7 +190,7 @@ void NativeComboboxViews::UpdateSelectedItem() {
}
void NativeComboboxViews::UpdateEnabled() {
- SetEnabled(combobox_->IsEnabled());
+ SetEnabled(combobox_->enabled());
}
int NativeComboboxViews::GetSelectedItem() const {
« no previous file with comments | « ui/views/controls/combobox/native_combobox_gtk.cc ('k') | ui/views/controls/combobox/native_combobox_win.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698