| Index: ui/views/widget/desktop_aura/desktop_root_window_host_win.cc
|
| diff --git a/ui/views/widget/desktop_aura/desktop_root_window_host_win.cc b/ui/views/widget/desktop_aura/desktop_root_window_host_win.cc
|
| index 5e5cf4a271c6c17bbfea0315b34615bd972c7c66..9fef8cfa87c4c74b00aeff8b89dba68ab30d3245 100644
|
| --- a/ui/views/widget/desktop_aura/desktop_root_window_host_win.cc
|
| +++ b/ui/views/widget/desktop_aura/desktop_root_window_host_win.cc
|
| @@ -820,8 +820,8 @@ bool DesktopRootWindowHostWin::HandleKeyEvent(const ui::KeyEvent& event) {
|
|
|
| bool DesktopRootWindowHostWin::HandleUntranslatedKeyEvent(
|
| const ui::KeyEvent& event) {
|
| - scoped_ptr<ui::KeyEvent> duplicate_event(event.Copy());
|
| - return delegate_->OnHostKeyEvent(duplicate_event.get());
|
| + ui::KeyEvent duplicate_event(event);
|
| + return delegate_->OnHostKeyEvent(&duplicate_event);
|
| }
|
|
|
| void DesktopRootWindowHostWin::HandleTouchEvent(
|
|
|