Index: ash/shelf/shelf_view.cc |
diff --git a/ash/shelf/shelf_view.cc b/ash/shelf/shelf_view.cc |
index 1217e74cf3066d5a043243e04090b73aac755066..67af1100a2da13be3104c119e1e543ea46e4fb58 100644 |
--- a/ash/shelf/shelf_view.cc |
+++ b/ash/shelf/shelf_view.cc |
@@ -1798,8 +1798,7 @@ void ShelfView::ShowContextMenuForView(views::View* source, |
} |
context_menu_model_.reset(Shell::GetInstance()->delegate()->CreateContextMenu( |
- source->GetWidget()->GetNativeView()->GetRootWindow(), |
- &model_->items()[view_index])); |
+ shelf_, &model_->items()[view_index])); |
if (!context_menu_model_) |
return; |