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

Unified Diff: ash/magnifier/magnification_controller_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: ash/magnifier/magnification_controller_unittest.cc
diff --git a/ash/magnifier/magnification_controller_unittest.cc b/ash/magnifier/magnification_controller_unittest.cc
index b9b2f73d68936b12092b98a96f215963eaf7ab97..c3a923906700c06d5f4e737f72d11fe2b157ba78 100644
--- a/ash/magnifier/magnification_controller_unittest.cc
+++ b/ash/magnifier/magnification_controller_unittest.cc
@@ -148,10 +148,7 @@ class MagnificationControllerTest: public test::AshTestBase {
ui::InputMethod* GetInputMethod() {
DCHECK(text_input_view_);
- return text_input_view_->GetWidget()
- ->GetNativeWindow()
- ->GetRootWindow()
- ->GetProperty(aura::client::kRootWindowInputMethodKey);
+ return text_input_view_->GetWidget()->GetHostInputMethod();
}
DISALLOW_COPY_AND_ASSIGN(MagnificationControllerTest);

Powered by Google App Engine
This is Rietveld 408576698