Index: ash/shelf/shelf_widget.cc |
diff --git a/ash/shelf/shelf_widget.cc b/ash/shelf/shelf_widget.cc |
index 2b3fdfa23426e1dc6f77bb17c20142f8aab63fe8..abaf3706c6e2dc50af15c6b28341510d64e0f56b 100644 |
--- a/ash/shelf/shelf_widget.cc |
+++ b/ash/shelf/shelf_widget.cc |
@@ -148,7 +148,7 @@ ShelfWidget::ShelfWidget(WmWindow* shelf_container, WmShelf* wm_shelf) |
params.delegate = delegate_view_; |
shelf_container->GetRootWindowController() |
->ConfigureWidgetInitParamsForContainer( |
- this, shelf_container->GetShellWindowId(), ¶ms); |
+ this, shelf_container->aura_window()->id(), ¶ms); |
Init(params); |
// The shelf should not take focus when initially shown. |