| Index: ash/root_window_controller.cc
|
| diff --git a/ash/root_window_controller.cc b/ash/root_window_controller.cc
|
| index 4d021bfed6473ded9c972c76f5fe0115dd86d377..a2d8219fc72ff44a9f43147c2d3836b57e3d3122 100644
|
| --- a/ash/root_window_controller.cc
|
| +++ b/ash/root_window_controller.cc
|
| @@ -561,7 +561,7 @@ void RootWindowController::ShowContextMenu(const gfx::Point& location_in_screen,
|
| ShellDelegate* delegate = Shell::GetInstance()->delegate();
|
| DCHECK(delegate);
|
| scoped_ptr<ui::MenuModel> menu_model(
|
| - delegate->CreateContextMenu(GetRootWindow(), nullptr));
|
| + delegate->CreateContextMenu(shelf_->shelf(), nullptr));
|
| if (!menu_model)
|
| return;
|
|
|
|
|