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

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

Issue 2889673002: chromeos: Refactor shelf to create ShelfView earlier in startup (Closed)
Patch Set: rebase 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
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 4da7bbc049739d96ae3c4196d9c96edd4dcdedd2..4ff93401b3c685eda5e2b514fe02ffa192ca14f0 100644
--- a/ash/wm/workspace/workspace_layout_manager.cc
+++ b/ash/wm/workspace/workspace_layout_manager.cc
@@ -374,8 +374,7 @@ void WorkspaceLayoutManager::AdjustAllWindowsBoundsForWorkAreaChange(
}
void WorkspaceLayoutManager::UpdateShelfVisibility() {
- if (root_window_controller_->HasShelf())
- root_window_controller_->GetShelf()->UpdateVisibilityState();
+ root_window_controller_->wm_shelf()->UpdateVisibilityState();
}
void WorkspaceLayoutManager::UpdateFullscreenState() {

Powered by Google App Engine
This is Rietveld 408576698