Index: ash/host/ash_window_tree_host_x11.cc |
diff --git a/ash/host/ash_window_tree_host_x11.cc b/ash/host/ash_window_tree_host_x11.cc |
index 6733d78f82ab8d4f494435ff6685c7c73c2b342e..1ddfa29dc443d6449f5890b12c69a0ff3bbd40fa 100644 |
--- a/ash/host/ash_window_tree_host_x11.cc |
+++ b/ash/host/ash_window_tree_host_x11.cc |
@@ -15,7 +15,6 @@ |
#include "ash/host/ash_window_tree_host_init_params.h" |
#include "ash/host/ash_window_tree_host_unified.h" |
#include "ash/host/root_window_transformer.h" |
-#include "ash/ime/input_method_event_handler.h" |
#include "base/sys_info.h" |
#include "ui/aura/env.h" |
#include "ui/aura/window.h" |
@@ -215,11 +214,7 @@ void AshWindowTreeHostX11::TranslateAndDispatchLocatedEvent( |
ui::EventDispatchDetails AshWindowTreeHostX11::DispatchKeyEventPostIME( |
sadrul
2017/05/15 14:44:24
Do you still need this override?
Hadi
2017/05/15 17:22:13
Done.
|
ui::KeyEvent* event) { |
- input_method_handler()->SetPostIME(true); |
- ui::EventDispatchDetails details = event_sink()->OnEventFromSource(event); |
- if (!details.dispatcher_destroyed) |
- input_method_handler()->SetPostIME(false); |
- return details; |
+ return SendEventToSink(event); |
} |
void AshWindowTreeHostX11::SetCrOSTapPaused(bool state) { |