| Index: apps/shortcut_manager.cc
|
| diff --git a/apps/shortcut_manager.cc b/apps/shortcut_manager.cc
|
| index c002100a4602d0d15f9e6c8cb954ee0b77409160..fc2231a850fe446ca3c9cbb3845acbecc2f68d6f 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_,
|
|
|