Index: ash/host/ash_window_tree_host_win.cc |
diff --git a/ash/host/ash_window_tree_host_win.cc b/ash/host/ash_window_tree_host_win.cc |
index 9419fa41863fa49736b11e042dc22f443a60a7e9..e69769ca6a55fe8e3f789ad0bfb5c5252ccd98e4 100644 |
--- a/ash/host/ash_window_tree_host_win.cc |
+++ b/ash/host/ash_window_tree_host_win.cc |
@@ -104,15 +104,14 @@ class AshWindowTreeHostWin : public AshWindowTreeHost, |
} |
// ui::internal::InputMethodDelegate: |
- bool DispatchKeyEventPostIME(const ui::KeyEvent& event) override { |
- ui::KeyEvent event_copy(event); |
+ ui::EventDispatchDetails DispatchKeyEventPostIME( |
+ ui::KeyEvent* event) override { |
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; |
} |
bool fullscreen_; |