Upstream version 5.34.104.0
[platform/framework/web/crosswalk.git] / src / ash / shelf / shelf_window_watcher_item_delegate.cc
index 48d582b..fcae1af 100644 (file)
@@ -51,8 +51,7 @@ base::string16 ShelfWindowWatcherItemDelegate::GetTitle() {
 
 ui::MenuModel* ShelfWindowWatcherItemDelegate::CreateContextMenu(
     aura::Window* root_window) {
-  ash::LauncherItem item =
-      *(model_->ItemByID(GetLauncherIDForWindow(window_)));
+  ash::ShelfItem item = *(model_->ItemByID(GetShelfIDForWindow(window_)));
   return Shell::GetInstance()->delegate()->CreateContextMenu(root_window,
                                                              this,
                                                              &item);