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

Unified Diff: ash/common/wm/window_positioning_utils.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
« no previous file with comments | « ash/common/wm/window_positioner.cc ('k') | ash/common/wm_shell.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/common/wm/window_positioning_utils.cc
diff --git a/ash/common/wm/window_positioning_utils.cc b/ash/common/wm/window_positioning_utils.cc
index babed2f4456c1c9a052f946f5299ca5d6441a038..b865c5071a78c89458ad177c6dff6e84273796a5 100644
--- a/ash/common/wm/window_positioning_utils.cc
+++ b/ash/common/wm/window_positioning_utils.cc
@@ -178,7 +178,7 @@ void SetBoundsInScreen(WmWindow* window,
// Restore focused/active window.
if (focused && tracker.Contains(focused->aura_window())) {
focused->SetFocused();
- WmShell::Get()->set_root_window_for_new_windows(
+ Shell::GetInstance()->set_root_window_for_new_windows(
focused->GetRootWindow());
} else if (active && tracker.Contains(active->aura_window())) {
active->Activate();
« no previous file with comments | « ash/common/wm/window_positioner.cc ('k') | ash/common/wm_shell.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698