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

Unified Diff: ash/test/ash_test_helper.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: ash/test/ash_test_helper.cc
diff --git a/ash/test/ash_test_helper.cc b/ash/test/ash_test_helper.cc
index 7421eec716f78ca26da957e83c8ad050fefdf6d0..f1a1e5cbab5879a22f2323aefeea82b1fcb630db 100644
--- a/ash/test/ash_test_helper.cc
+++ b/ash/test/ash_test_helper.cc
@@ -227,7 +227,7 @@ TestSessionStateDelegate* AshTestHelper::GetTestSessionStateDelegate() {
}
aura::Window* AshTestHelper::CurrentContext() {
- aura::Window* root_window = Shell::GetTargetRootWindow();
+ aura::Window* root_window = Shell::GetRootWindowForNewWindows();
if (!root_window)
root_window = Shell::GetPrimaryRootWindow();
DCHECK(root_window);

Powered by Google App Engine
This is Rietveld 408576698