| Index: mojo/views/native_widget_view_manager.cc
|
| diff --git a/mojo/views/native_widget_view_manager.cc b/mojo/views/native_widget_view_manager.cc
|
| index 1d92e22148c4c4fe92dffa6592d0684bc6c52ce2..e4b0248b8929cd6c7facb183999e652997b5eb8c 100644
|
| --- a/mojo/views/native_widget_view_manager.cc
|
| +++ b/mojo/views/native_widget_view_manager.cc
|
| @@ -40,10 +40,9 @@ class MinimalInputEventFilter : public ui::internal::InputMethodDelegate,
|
| public ui::EventHandler {
|
| public:
|
| explicit MinimalInputEventFilter(aura::Window* root)
|
| - : root_(root),
|
| - input_method_(
|
| - ui::CreateInputMethod(this, gfx::kNullAcceleratedWidget).Pass()) {
|
| + : root_(root) {
|
| ui::InitializeInputMethodForTesting();
|
| + input_method_ = ui::CreateInputMethod(this, gfx::kNullAcceleratedWidget);
|
| input_method_->Init(true);
|
| root_->AddPreTargetHandler(this);
|
| root_->SetProperty(aura::client::kRootWindowInputMethodKey,
|
|
|