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

Unified Diff: chrome/browser/ui/ash/chrome_keyboard_ui.cc

Issue 2739553005: Moves maintaining root_window_for_new_windows_ to Shell (Closed)
Patch Set: remove ash:: Created 3 years, 9 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: 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();
}

Powered by Google App Engine
This is Rietveld 408576698