Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(179)

Unified Diff: ui/views/ime/input_method_bridge_unittest.cc

Issue 1155013005: Refactoring the ownership of ui::InputMethod. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: pls be green! Created 5 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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..22899b1a59ea6b64bb66f48ed0c994074ac5e4f1 100644
--- a/ui/views/ime/input_method_bridge_unittest.cc
+++ b/ui/views/ime/input_method_bridge_unittest.cc
@@ -21,9 +21,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 +39,6 @@ TEST_F(InputMethodBridgeTest, DestructTest) {
child->GetInputMethod()->OnFocus();
toplevel->CloseNow();
-
- GetContext()->SetProperty(aura::client::kRootWindowInputMethodKey,
- static_cast<ui::InputMethod*>(NULL));
}
} // namespace views

Powered by Google App Engine
This is Rietveld 408576698