| Index: ash/root_window_controller.cc
|
| diff --git a/ash/root_window_controller.cc b/ash/root_window_controller.cc
|
| index a627d23b49a6b49603bd35f3783c4502a985207f..4909168f2cb61df2a22ee86fee64550e95f644bb 100644
|
| --- a/ash/root_window_controller.cc
|
| +++ b/ash/root_window_controller.cc
|
| @@ -566,8 +566,7 @@ void RootWindowController::ShowContextMenu(const gfx::Point& location_in_screen,
|
| ui::MenuSourceType source_type) {
|
| ShellDelegate* delegate = Shell::GetInstance()->delegate();
|
| DCHECK(delegate);
|
| - menu_model_.reset(
|
| - delegate->CreateContextMenu(shelf_widget_->shelf(), nullptr));
|
| + menu_model_.reset(delegate->CreateContextMenu(wm_shelf_aura_.get(), nullptr));
|
| if (!menu_model_)
|
| return;
|
|
|
|
|