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

Unified Diff: chrome/browser/ui/ash/launcher/chrome_launcher_controller_impl_browsertest.cc

Issue 2739553005: Moves maintaining root_window_for_new_windows_ to Shell (Closed)
Patch Set: rename GetTargetWindow and further cleanup 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/launcher/chrome_launcher_controller_impl_browsertest.cc
diff --git a/chrome/browser/ui/ash/launcher/chrome_launcher_controller_impl_browsertest.cc b/chrome/browser/ui/ash/launcher/chrome_launcher_controller_impl_browsertest.cc
index 7a473e041830316b61cb431dbca1fc6668cae753..db6a15cac37be2cbc4564d2142e84d7a74302835 100644
--- a/chrome/browser/ui/ash/launcher/chrome_launcher_controller_impl_browsertest.cc
+++ b/chrome/browser/ui/ash/launcher/chrome_launcher_controller_impl_browsertest.cc
@@ -372,7 +372,7 @@ class ShelfAppBrowserTest : public ExtensionBrowserTest {
}
aura::Window* CurrentContext() {
- aura::Window* root_window = ash::Shell::GetTargetRootWindow();
+ aura::Window* root_window = ash::Shell::GetRootWindowForNewWindows();
DCHECK(root_window);
return root_window;
}

Powered by Google App Engine
This is Rietveld 408576698