Index: ui/aura/window_tree_host.cc |
diff --git a/ui/aura/window_tree_host.cc b/ui/aura/window_tree_host.cc |
index c65c9271f4bc3bbdf7a0f6ffc03ec1d7ea6d6297..5fdadb9ebbb210ea2c3fdf3d5d2d45fc020f4f02 100644 |
--- a/ui/aura/window_tree_host.cc |
+++ b/ui/aura/window_tree_host.cc |
@@ -193,11 +193,9 @@ void WindowTreeHost::SetSharedInputMethod(ui::InputMethod* input_method) { |
owned_input_method_ = false; |
} |
-bool WindowTreeHost::DispatchKeyEventPostIME(const ui::KeyEvent& event) { |
- ui::KeyEvent copied_event(event); |
- ui::EventDispatchDetails details = SendEventToProcessor(&copied_event); |
- DCHECK(!details.dispatcher_destroyed); |
- return copied_event.stopped_propagation(); |
+ui::EventDispatchDetails WindowTreeHost::DispatchKeyEventPostIME( |
+ ui::KeyEvent* event) { |
+ return SendEventToProcessor(event); |
} |
void WindowTreeHost::Show() { |