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

Unified Diff: ash/root_window_controller.cc

Issue 1929023002: Refactors WindowResizers to use ash/wm/common (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 8 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/root_window_controller.cc
diff --git a/ash/root_window_controller.cc b/ash/root_window_controller.cc
index 314d9cdba9c67ca6dd438e5712c70443c3e9e3d2..7febc28522d90bdbeaaee34ff1b2a685e5a7f6d7 100644
--- a/ash/root_window_controller.cc
+++ b/ash/root_window_controller.cc
@@ -443,7 +443,7 @@ void RootWindowController::ShowShelf() {
void RootWindowController::OnShelfCreated() {
if (panel_layout_manager_)
- panel_layout_manager_->SetShelf(shelf_->shelf());
+ panel_layout_manager_->SetShelf(shelf_->shelf()->wm_shelf());
if (docked_layout_manager_) {
docked_layout_manager_->SetShelf(shelf_->shelf()->wm_shelf());
if (shelf_->shelf_layout_manager())

Powered by Google App Engine
This is Rietveld 408576698