| Index: ui/views/controls/native_control_win.cc
|
| diff --git a/ui/views/controls/native_control_win.cc b/ui/views/controls/native_control_win.cc
|
| index 2b71964d7e2fbe2ba9cce31a8531566a45b53ed1..041b85a058d6d28574a06e4bd078c15c49a5ec22 100644
|
| --- a/ui/views/controls/native_control_win.cc
|
| +++ b/ui/views/controls/native_control_win.cc
|
| @@ -62,7 +62,7 @@ bool NativeControlWin::ProcessMessage(UINT message,
|
| void NativeControlWin::OnEnabledChanged() {
|
| View::OnEnabledChanged();
|
| if (native_view())
|
| - EnableWindow(native_view(), IsEnabled());
|
| + EnableWindow(native_view(), enabled());
|
| }
|
|
|
| void NativeControlWin::ViewHierarchyChanged(bool is_add, View* parent,
|
| @@ -146,7 +146,7 @@ void NativeControlWin::NativeControlCreated(HWND native_control) {
|
| // native_view() is now valid.
|
|
|
| // Update the newly created HWND with any resident enabled state.
|
| - EnableWindow(native_view(), IsEnabled());
|
| + EnableWindow(native_view(), enabled());
|
|
|
| // This message ensures that the focus border is shown.
|
| SendMessage(native_view(), WM_CHANGEUISTATE,
|
|
|