| Index: ash/host/ash_remote_window_tree_host_win.cc
|
| diff --git a/ash/host/ash_remote_window_tree_host_win.cc b/ash/host/ash_remote_window_tree_host_win.cc
|
| index b51f1a603c987c3265a28c90df0b444f90e68f5c..f3191b5eda025a7b7d9fdeca211cd7d1b07224e6 100644
|
| --- a/ash/host/ash_remote_window_tree_host_win.cc
|
| +++ b/ash/host/ash_remote_window_tree_host_win.cc
|
| @@ -58,16 +58,14 @@ void AshRemoteWindowTreeHostWin::UpdateRootWindowSize(
|
| transformer_helper_.UpdateWindowSize(host_size);
|
| }
|
|
|
| -bool AshRemoteWindowTreeHostWin::DispatchKeyEventPostIME(
|
| - const ui::KeyEvent& event) {
|
| - ui::KeyEvent event_copy(event);
|
| +ui::EventDispatchDetails AshRemoteWindowTreeHostWin::DispatchKeyEventPostIME(
|
| + ui::KeyEvent* event) {
|
| input_method_handler()->SetPostIME(true);
|
| ui::EventDispatchDetails details =
|
| - event_processor()->OnEventFromSource(&event_copy);
|
| - if (details.dispatcher_destroyed)
|
| - return true;
|
| - input_method_handler()->SetPostIME(false);
|
| - return event_copy.stopped_propagation();
|
| + event_processor()->OnEventFromSource(event);
|
| + if (!details.dispatcher_destroyed)
|
| + input_method_handler()->SetPostIME(false);
|
| + return details;
|
| }
|
|
|
| } // namespace ash
|
|
|