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

Unified Diff: ash/shelf/shelf_widget.cc

Issue 2895843002: chromeos: Eliminate WmWindow from //ash/system (Closed)
Patch Set: comments 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 | « no previous file | ash/system/palette/mock_palette_tool_delegate.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/shelf/shelf_widget.cc
diff --git a/ash/shelf/shelf_widget.cc b/ash/shelf/shelf_widget.cc
index 96fdc65fdc074fef22018daba05e0721ef7c67c6..76978e09b937f0ac6330a25188b32749245d60b1 100644
--- a/ash/shelf/shelf_widget.cc
+++ b/ash/shelf/shelf_widget.cc
@@ -182,7 +182,8 @@ ShelfWidget::~ShelfWidget() {
void ShelfWidget::CreateStatusAreaWidget(WmWindow* status_container) {
DCHECK(status_container);
DCHECK(!status_area_widget_);
- status_area_widget_ = new StatusAreaWidget(status_container, wm_shelf_);
+ status_area_widget_ =
+ new StatusAreaWidget(status_container->aura_window(), wm_shelf_);
status_area_widget_->CreateTrayViews();
// NOTE: Container may be hidden depending on login/display state.
status_area_widget_->Show();
« no previous file with comments | « no previous file | ash/system/palette/mock_palette_tool_delegate.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698