Chromium Code Reviews| Index: ash/shell.cc |
| diff --git a/ash/shell.cc b/ash/shell.cc |
| index 6f64011d9d6fcd1587fa62c87a3f506db1de1a04..8556bcb83848459dde310fc816f14f343853740d 100644 |
| --- a/ash/shell.cc |
| +++ b/ash/shell.cc |
| @@ -825,9 +825,14 @@ void Shell::Init(const ShellInitParams& init_params) { |
| new ResolutionNotificationController); |
| #endif |
| - if (cursor_manager_) |
| + if (cursor_manager_) { |
| cursor_manager_->SetDisplay( |
| display::Screen::GetScreen()->GetPrimaryDisplay()); |
| +// wm_shell_->SetCursorManager(base::MakeUnique<::wm::CursorManager>( |
| +// base::WrapUnique<AshNativeCursorManager>(native_cursor_manager_))); |
| + wm_shell_->SetCursorManager(base::WrapUnique<::wm::CursorManager>( |
| + cursor_manager_.get())); |
|
jdufault
2016/08/11 01:09:57
This is causing chrome to consistently crash on sh
|
| + } |
| accelerator_controller_delegate_.reset(new AcceleratorControllerDelegateAura); |
| wm_shell_->SetAcceleratorController(base::MakeUnique<AcceleratorController>( |