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

Unified Diff: ash/wm/workspace/workspace_layout_manager.cc

Issue 2896273004: chromeos: converts PanelLayoutManager 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/panels/panel_window_resizer.cc ('k') | ash/wm/workspace_controller_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/wm/workspace/workspace_layout_manager.cc
diff --git a/ash/wm/workspace/workspace_layout_manager.cc b/ash/wm/workspace/workspace_layout_manager.cc
index b8e06c2d26e78aaa86088e01a810dd3ec3227b69..904fc145c1ad7b5926a48e0b54472f209f586bd5 100644
--- a/ash/wm/workspace/workspace_layout_manager.cc
+++ b/ash/wm/workspace/workspace_layout_manager.cc
@@ -215,9 +215,8 @@ void WorkspaceLayoutManager::OnWindowPropertyChanged(aura::Window* window,
if (key == aura::client::kAlwaysOnTopKey) {
if (window->GetProperty(aura::client::kAlwaysOnTopKey)) {
aura::Window* container =
- root_window_controller_->always_on_top_controller()
- ->GetContainer(WmWindow::Get(window))
- ->aura_window();
+ root_window_controller_->always_on_top_controller()->GetContainer(
+ window);
if (window->parent() != container)
container->AddChild(window);
}
« no previous file with comments | « ash/wm/panels/panel_window_resizer.cc ('k') | ash/wm/workspace_controller_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698