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

Unified Diff: ash/wm/lock_layout_manager.cc

Issue 2901663003: chromeos: converts WindowState to aura::Window (Closed)
Patch Set: feedback 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
« no previous file with comments | « ash/wm/drag_details.cc ('k') | ash/wm/lock_window_state.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/wm/lock_layout_manager.cc
diff --git a/ash/wm/lock_layout_manager.cc b/ash/wm/lock_layout_manager.cc
index 8093cd1cf5600af6762161c46feae32ade5e2a93..e89ba24ebc942372ef7637c3c549626d35cc4441 100644
--- a/ash/wm/lock_layout_manager.cc
+++ b/ash/wm/lock_layout_manager.cc
@@ -46,8 +46,7 @@ void LockLayoutManager::OnWindowAddedToLayout(aura::Window* child) {
child->AddObserver(this);
// LockWindowState replaces default WindowState of a child.
- wm::WindowState* window_state =
- LockWindowState::SetLockWindowState(WmWindow::Get(child));
+ wm::WindowState* window_state = LockWindowState::SetLockWindowState(child);
wm::WMEvent event(wm::WM_EVENT_ADDED_TO_WORKSPACE);
window_state->OnWMEvent(&event);
}
« no previous file with comments | « ash/wm/drag_details.cc ('k') | ash/wm/lock_window_state.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698