| Index: ui/views/widget/desktop_aura/desktop_window_tree_host_win.cc
|
| diff --git a/ui/views/widget/desktop_aura/desktop_window_tree_host_win.cc b/ui/views/widget/desktop_aura/desktop_window_tree_host_win.cc
|
| index 270bd54b597ef879104b4dc42977cfcad8157934..48368f962f2f3433b76c5ad20746ad28f135a481 100644
|
| --- a/ui/views/widget/desktop_aura/desktop_window_tree_host_win.cc
|
| +++ b/ui/views/widget/desktop_aura/desktop_window_tree_host_win.cc
|
| @@ -140,7 +140,7 @@ void DesktopWindowTreeHostWin::Init(aura::Window* content_window,
|
|
|
| gfx::Rect pixel_bounds = gfx::win::DIPToScreenRect(params.bounds);
|
| message_handler_->Init(parent_hwnd, pixel_bounds);
|
| - if (params.type == Widget::InitParams::TYPE_MENU) {
|
| + if (params.force_software_compositing) {
|
| ::SetProp(GetAcceleratedWidget(),
|
| kForceSoftwareCompositor,
|
| reinterpret_cast<HANDLE>(true));
|
|
|