diff options
Diffstat (limited to 'apps')
-rw-r--r-- | apps/shortcut_manager.cc | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/apps/shortcut_manager.cc b/apps/shortcut_manager.cc index c002100..fc2231a 100644 --- a/apps/shortcut_manager.cc +++ b/apps/shortcut_manager.cc @@ -34,8 +34,9 @@ void ShortcutManager::Observe(int type, switch (type) { case chrome::NOTIFICATION_EXTENSION_INSTALLED: { #if !defined(OS_MACOSX) - const Extension* extension = content::Details<const Extension>( - details).ptr(); + const Extension* extension = + content::Details<const extensions::InstalledExtensionInfo>(details)-> + extension; if (extension->is_platform_app() && extension->location() != extensions::Manifest::COMPONENT) { web_app::UpdateShortcutInfoAndIconForApp(*extension, profile_, |