Index: ui/views/ime/input_method_bridge_unittest.cc |
diff --git a/ui/views/ime/input_method_bridge_unittest.cc b/ui/views/ime/input_method_bridge_unittest.cc |
index 64144cf450d0d827509fbb433ce70c3b465a2584..510264544ed7f1c6641680b18bad811b545c48a4 100644 |
--- a/ui/views/ime/input_method_bridge_unittest.cc |
+++ b/ui/views/ime/input_method_bridge_unittest.cc |
@@ -2,7 +2,6 @@ |
// Use of this source code is governed by a BSD-style license that can be |
// found in the LICENSE file. |
-#include "ui/aura/client/aura_constants.h" |
#include "ui/aura/window.h" |
#include "ui/base/ime/dummy_input_method_delegate.h" |
#include "ui/base/ime/input_method_minimal.h" |
@@ -21,9 +20,6 @@ TEST_F(InputMethodBridgeTest, DestructTest) { |
ui::internal::DummyInputMethodDelegate input_method_delegate; |
ui::InputMethodMinimal input_method(&input_method_delegate); |
- GetContext()->SetProperty(aura::client::kRootWindowInputMethodKey, |
- static_cast<ui::InputMethod*>(&input_method)); |
- |
Widget* toplevel = new Widget; |
Widget::InitParams toplevel_params = |
CreateParams(Widget::InitParams::TYPE_WINDOW); |
@@ -42,9 +38,6 @@ TEST_F(InputMethodBridgeTest, DestructTest) { |
child->GetInputMethod()->OnFocus(); |
toplevel->CloseNow(); |
- |
- GetContext()->SetProperty(aura::client::kRootWindowInputMethodKey, |
- static_cast<ui::InputMethod*>(NULL)); |
} |
} // namespace views |