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

Unified Diff: ash/wm/window_cycle_list.cc

Issue 2911393002: Nix GetRootWindowController, use RootWindowController::ForWindow. (Closed)
Patch Set: Sync and rebase. Created 3 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/wm/window_cycle_list.cc
diff --git a/ash/wm/window_cycle_list.cc b/ash/wm/window_cycle_list.cc
index e1f47d17a52d625d5955f94bd2aeba3ba882cbde..a2c7c3882a695df8386addd25f67ef0927b57a40 100644
--- a/ash/wm/window_cycle_list.cc
+++ b/ash/wm/window_cycle_list.cc
@@ -534,7 +534,7 @@ void WindowCycleList::InitWindowCycleView() {
// TODO(estade): make sure nothing untoward happens when the lock screen
// or a system modal dialog is shown.
aura::Window* root_window = Shell::GetRootWindowForNewWindows();
- GetRootWindowController(root_window)
+ RootWindowController::ForWindow(root_window)
->ConfigureWidgetInitParamsForContainer(
widget, kShellWindowId_OverlayContainer, &params);
gfx::Rect widget_rect = display::Screen::GetScreen()

Powered by Google App Engine
This is Rietveld 408576698