Index: chrome/browser/notifications/desktop_notification_service.cc |
diff --git a/chrome/browser/notifications/desktop_notification_service.cc b/chrome/browser/notifications/desktop_notification_service.cc |
index 2d605f819ea3475e513bbbbad2f9711825e2c61b..f591373202c878f5ac7ba79805df9c51cad6ae8a 100644 |
--- a/chrome/browser/notifications/desktop_notification_service.cc |
+++ b/chrome/browser/notifications/desktop_notification_service.cc |
@@ -696,14 +696,14 @@ void DesktopNotificationService::Observe( |
#if defined(ENABLE_EXTENSIONS) |
DCHECK_EQ(chrome::NOTIFICATION_EXTENSION_UNINSTALLED_DEPRECATED, type); |
- extensions::Extension* extension = |
- content::Details<extensions::Extension>(details).ptr(); |
- NotifierId notifier_id(NotifierId::APPLICATION, extension->id()); |
+ extensions::UninstalledExtensionInfo* info = |
+ content::Details<extensions::UninstalledExtensionInfo>(details).ptr(); |
+ NotifierId notifier_id(NotifierId::APPLICATION, info->extension->id()); |
if (IsNotifierEnabled(notifier_id)) |
return; |
// The settings for ephemeral apps will be persisted across cache evictions. |
- if (extensions::util::IsEphemeralApp(extension->id(), profile_)) |
+ if (extensions::util::IsEphemeralApp(info->extension->id(), profile_)) |
return; |
SetNotifierEnabled(notifier_id, true); |