| Index: chrome/browser/ui/ash/chrome_keyboard_ui.cc
|
| diff --git a/chrome/browser/ui/ash/chrome_keyboard_ui.cc b/chrome/browser/ui/ash/chrome_keyboard_ui.cc
|
| index 99b3d93d4cc44c3bf3b054866e73ee9413de2ef2..3c173f88a4d4c5573cbc5cecb133000fab9ef7aa 100644
|
| --- a/chrome/browser/ui/ash/chrome_keyboard_ui.cc
|
| +++ b/chrome/browser/ui/ash/chrome_keyboard_ui.cc
|
| @@ -138,7 +138,7 @@ ChromeKeyboardUI::~ChromeKeyboardUI() {
|
| }
|
|
|
| ui::InputMethod* ChromeKeyboardUI::GetInputMethod() {
|
| - aura::Window* root_window = ash::Shell::GetTargetRootWindow();
|
| + aura::Window* root_window = ash::Shell::GetRootWindowForNewWindows();
|
| DCHECK(root_window);
|
| return root_window->GetHost()->GetInputMethod();
|
| }
|
|
|