Index: ash/mus/ash_window_tree_host_mus.cc |
diff --git a/ash/mus/ash_window_tree_host_mus.cc b/ash/mus/ash_window_tree_host_mus.cc |
index 7c10818a2cb53502302e5b63d78e7964aa72d2ac..18d9edafc5f1f71f5babbb22aeede09b6e66b174 100644 |
--- a/ash/mus/ash_window_tree_host_mus.cc |
+++ b/ash/mus/ash_window_tree_host_mus.cc |
@@ -6,7 +6,6 @@ |
#include "ash/host/root_window_transformer.h" |
#include "ash/host/transformer_helper.h" |
-#include "ash/ime/input_method_event_handler.h" |
#include "base/memory/ptr_util.h" |
#include "ui/aura/mus/window_tree_host_mus_init_params.h" |
#include "ui/aura/window.h" |
@@ -88,13 +87,7 @@ void AshWindowTreeHostMus::UpdateRootWindowSizeInPixels( |
ui::EventDispatchDetails AshWindowTreeHostMus::DispatchKeyEventPostIME( |
ui::KeyEvent* event) { |
- // input_method_handler() can be null when using IME service with --mus. |
- if (input_method_handler()) |
- input_method_handler()->SetPostIME(true); |
- ui::EventDispatchDetails details = SendEventToSink(event); |
- if (input_method_handler() && !details.dispatcher_destroyed) |
- input_method_handler()->SetPostIME(false); |
- return details; |
+ return SendEventToSink(event); |
sadrul
2017/05/15 14:44:24
ditto
Hadi
2017/05/15 17:22:13
Done.
|
} |
} // namespace ash |