| Index: ui/views/view.cc
|
| diff --git a/ui/views/view.cc b/ui/views/view.cc
|
| index 51d246f0a3fdd6fe91bdc5a351f06909c558287b..b6cd9d0e97f9345128f754a62f0b80e15fa2430f 100644
|
| --- a/ui/views/view.cc
|
| +++ b/ui/views/view.cc
|
| @@ -870,14 +870,7 @@ const ui::NativeTheme* View::GetNativeTheme() const {
|
| if (widget)
|
| return widget->GetNativeTheme();
|
|
|
| -#if defined(OS_WIN)
|
| - // On Windows, ui::NativeTheme::GetInstanceForWeb() returns NativeThemeWinAura
|
| - // because that's what the renderer wants, but Views should default to
|
| - // NativeThemeWin. TODO(estade): clean this up, see http://crbug.com/558029
|
| - return ui::NativeThemeWin::instance();
|
| -#else
|
| - return ui::NativeTheme::GetInstanceForWeb();
|
| -#endif
|
| + return ui::NativeTheme::GetInstanceForNativeUi();
|
| }
|
|
|
| // RTL painting ----------------------------------------------------------------
|
|
|