Index: chrome/browser/ui/ash/launcher/launcher_context_menu.cc |
diff --git a/chrome/browser/ui/ash/launcher/launcher_context_menu.cc b/chrome/browser/ui/ash/launcher/launcher_context_menu.cc |
index 64b0b1707b69c6f0ef07960adf29739d9307a2da..92cb9160e17f82eb11972be02e62dd4815382e74 100644 |
--- a/chrome/browser/ui/ash/launcher/launcher_context_menu.cc |
+++ b/chrome/browser/ui/ash/launcher/launcher_context_menu.cc |
@@ -156,11 +156,12 @@ void LauncherContextMenu::Init() { |
if (item_.type == ash::TYPE_APP_SHORTCUT || |
item_.type == ash::TYPE_WINDOWED_APP || |
item_.type == ash::TYPE_PLATFORM_APP) { |
- std::string app_id = controller_->GetAppIDForShelfID(item_.id); |
- if (!app_id.empty()) { |
+ const extensions::MenuItem::ExtensionKey app_key( |
+ controller_->GetAppIDForShelfID(item_.id)); |
+ if (!app_key.empty()) { |
int index = 0; |
extension_items_->AppendExtensionItems( |
- app_id, base::string16(), &index); |
+ app_key, base::string16(), &index); |
AddSeparator(ui::NORMAL_SEPARATOR); |
} |
} |