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

Unified Diff: ui/views/controls/combobox/native_combobox_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/button/text_button.cc ('k') | ui/views/controls/combobox/native_combobox_views.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/views/controls/combobox/native_combobox_gtk.cc
diff --git a/ui/views/controls/combobox/native_combobox_gtk.cc b/ui/views/controls/combobox/native_combobox_gtk.cc
index 6ef1fbf124b419ae69a961b325efbb35023ddac0..dc7e97bffc5fa6419e14487ddccecbd06857e5d1 100644
--- a/ui/views/controls/combobox/native_combobox_gtk.cc
+++ b/ui/views/controls/combobox/native_combobox_gtk.cc
@@ -61,7 +61,7 @@ void NativeComboboxGtk::UpdateSelectedItem() {
}
void NativeComboboxGtk::UpdateEnabled() {
- SetEnabled(combobox_->IsEnabled());
+ SetEnabled(combobox_->enabled());
}
int NativeComboboxGtk::GetSelectedItem() const {
« no previous file with comments | « ui/views/controls/button/text_button.cc ('k') | ui/views/controls/combobox/native_combobox_views.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698