| Index: ui/views/controls/native_control_gtk.cc
|
| diff --git a/ui/views/controls/native_control_gtk.cc b/ui/views/controls/native_control_gtk.cc
|
| index 417e8a8f61f9e66c4373fbe7196176a4db22b497..140f96d2d901b123b2f7a32e2d92fb11cb78e9bf 100644
|
| --- a/ui/views/controls/native_control_gtk.cc
|
| +++ b/ui/views/controls/native_control_gtk.cc
|
| @@ -27,7 +27,7 @@ NativeControlGtk::~NativeControlGtk() {
|
| void NativeControlGtk::OnEnabledChanged() {
|
| View::OnEnabledChanged();
|
| if (native_view())
|
| - gtk_widget_set_sensitive(native_view(), IsEnabled());
|
| + gtk_widget_set_sensitive(native_view(), enabled());
|
| }
|
|
|
| void NativeControlGtk::ViewHierarchyChanged(bool is_add, View* parent,
|
| @@ -66,7 +66,7 @@ void NativeControlGtk::NativeControlCreated(GtkWidget* native_control) {
|
| Attach(native_control);
|
|
|
| // Update the newly created GtkWidget with any resident enabled state.
|
| - gtk_widget_set_sensitive(native_view(), IsEnabled());
|
| + gtk_widget_set_sensitive(native_view(), enabled());
|
|
|
| // Listen for focus change event to update the FocusManager focused view.
|
| g_signal_connect(native_control, "focus-in-event",
|
|
|