| Index: chrome/browser/extensions/extension_host.cc
|
| diff --git a/chrome/browser/extensions/extension_host.cc b/chrome/browser/extensions/extension_host.cc
|
| index 780db38d5000556be343f1d76d05a5e7f0030eaf..8c66891594bfe219c32a8171b5245506a43645a8 100644
|
| --- a/chrome/browser/extensions/extension_host.cc
|
| +++ b/chrome/browser/extensions/extension_host.cc
|
| @@ -147,7 +147,7 @@ ExtensionHost::ExtensionHost(const Extension* extension,
|
|
|
| // Listen for when an extension is unloaded from the same profile, as it may
|
| // be the same extension that this points to.
|
| - registrar_.Add(this, chrome::NOTIFICATION_EXTENSION_UNLOADED,
|
| + registrar_.Add(this, chrome::NOTIFICATION_EXTENSION_UNLOADED_DEPRECATED,
|
| content::Source<BrowserContext>(browser_context_));
|
|
|
| // Set up Chrome-level pref observers.
|
| @@ -226,7 +226,7 @@ void ExtensionHost::Observe(int type,
|
| const content::NotificationSource& source,
|
| const content::NotificationDetails& details) {
|
| switch (type) {
|
| - case chrome::NOTIFICATION_EXTENSION_UNLOADED:
|
| + case chrome::NOTIFICATION_EXTENSION_UNLOADED_DEPRECATED:
|
| // The extension object will be deleted after this notification has been
|
| // sent. NULL it out so that dirty pointer issues don't arise in cases
|
| // when multiple ExtensionHost objects pointing to the same Extension are
|
|
|