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

Unified Diff: ash/root_window_controller.cc

Issue 2746873003: Refactor PanelLayoutManager to use aura::LayoutManager (Closed)
Patch Set: minor 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/wm_snap_to_pixel_layout_manager.cc ('k') | ash/test/wm_window_test_api.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/root_window_controller.cc
diff --git a/ash/root_window_controller.cc b/ash/root_window_controller.cc
index 1ba82debacbe541c468c67100e179706eb260826..a55579a8a197bb95411fbaa53cbf715350ca490f 100644
--- a/ash/root_window_controller.cc
+++ b/ash/root_window_controller.cc
@@ -865,7 +865,7 @@ void RootWindowController::InitLayoutManagers() {
// Create Panel layout manager
WmWindow* wm_panel_container = GetWmContainer(kShellWindowId_PanelContainer);
panel_layout_manager_ = new PanelLayoutManager(wm_panel_container);
- wm_panel_container->SetLayoutManager(base::WrapUnique(panel_layout_manager_));
+ wm_panel_container->aura_window()->SetLayoutManager(panel_layout_manager_);
wm::WmSnapToPixelLayoutManager::InstallOnContainers(root);
« no previous file with comments | « ash/common/wm/wm_snap_to_pixel_layout_manager.cc ('k') | ash/test/wm_window_test_api.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698