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

Unified Diff: ash/common/wm/window_cycle_list.cc

Issue 2194353002: mash: Migrate ScopedTargetRootWindow to //ash/common (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: reflow comment Created 4 years, 4 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/common/wm/window_cycle_list.cc
diff --git a/ash/common/wm/window_cycle_list.cc b/ash/common/wm/window_cycle_list.cc
index 703ac18d0e9183e0a594084bafc82a87f01d0227..71936d51c5094df0a651335058704662f87a3416 100644
--- a/ash/common/wm/window_cycle_list.cc
+++ b/ash/common/wm/window_cycle_list.cc
@@ -384,7 +384,7 @@ WindowCycleList::WindowCycleList(const WindowList& windows)
window->AddObserver(this);
if (ShouldShowUi()) {
- WmWindow* root_window = WmShell::Get()->GetRootWindowForNewWindows();
+ WmWindow* root_window = WmShell::Get()->root_window_for_new_windows();
views::Widget* widget = new views::Widget;
views::Widget::InitParams params;
params.type = views::Widget::InitParams::TYPE_WINDOW_FRAMELESS;

Powered by Google App Engine
This is Rietveld 408576698