Index: ui/wm/test/wm_test_helper.cc |
diff --git a/ui/wm/test/wm_test_helper.cc b/ui/wm/test/wm_test_helper.cc |
index 7e4dc7e7d54ab5fc56f0142f6ed0e63919cd08aa..2f75a49ceabe1bb52b82baf65030769c067a63f7 100644 |
--- a/ui/wm/test/wm_test_helper.cc |
+++ b/ui/wm/test/wm_test_helper.cc |
@@ -6,6 +6,7 @@ |
#include "ui/aura/client/default_capture_client.h" |
#include "ui/aura/env.h" |
+#include "ui/aura/test/input_method_glue.h" |
#include "ui/aura/test/test_focus_client.h" |
#include "ui/aura/window.h" |
#include "ui/wm/core/compound_event_filter.h" |
@@ -18,6 +19,7 @@ WMTestHelper::WMTestHelper(const gfx::Size& default_window_size, |
aura::Env::GetInstance()->set_context_factory(context_factory); |
host_.reset(aura::WindowTreeHost::Create(gfx::Rect(default_window_size))); |
host_->InitHost(); |
+ input_method_glue_.reset(new aura::InputMethodGlue(host_.get())); |
aura::client::SetWindowTreeClient(host_->window(), this); |
focus_client_.reset(new aura::test::TestFocusClient); |