| 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..2185fb9d5c03c834cb0ebbd4370cba42869a412c 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,7 +820,7 @@ bool DesktopRootWindowHostWin::HandleKeyEvent(const ui::KeyEvent& event) {
|
|
|
| bool DesktopRootWindowHostWin::HandleUntranslatedKeyEvent(
|
| const ui::KeyEvent& event) {
|
| - scoped_ptr<ui::KeyEvent> duplicate_event(event.Copy());
|
| + scoped_ptr<ui::KeyEvent> duplicate_event(new ui::KeyEvent(event));
|
| return delegate_->OnHostKeyEvent(duplicate_event.get());
|
| }
|
|
|
|
|