| Index: chrome/browser/extensions/extension_infobar_delegate.cc
|
| diff --git a/chrome/browser/extensions/extension_infobar_delegate.cc b/chrome/browser/extensions/extension_infobar_delegate.cc
|
| index 601da471cd15b2afb6a208246c8f5ba950dbf307..f5ae9680e6535c735dd53e0ce3b47aa78823fe7b 100644
|
| --- a/chrome/browser/extensions/extension_infobar_delegate.cc
|
| +++ b/chrome/browser/extensions/extension_infobar_delegate.cc
|
| @@ -48,7 +48,7 @@ ExtensionInfoBarDelegate::ExtensionInfoBarDelegate(
|
|
|
| registrar_.Add(this, chrome::NOTIFICATION_EXTENSION_HOST_VIEW_SHOULD_CLOSE,
|
| content::Source<Profile>(browser->profile()));
|
| - registrar_.Add(this, chrome::NOTIFICATION_EXTENSION_UNLOADED,
|
| + registrar_.Add(this, chrome::NOTIFICATION_EXTENSION_UNLOADED_DEPRECATED,
|
| content::Source<Profile>(browser->profile()));
|
|
|
| height_ = std::max(0, height);
|
| @@ -98,7 +98,7 @@ void ExtensionInfoBarDelegate::Observe(
|
| content::Details<extensions::ExtensionHost>(details).ptr())
|
| infobar()->RemoveSelf();
|
| } else {
|
| - DCHECK(type == chrome::NOTIFICATION_EXTENSION_UNLOADED);
|
| + DCHECK(type == chrome::NOTIFICATION_EXTENSION_UNLOADED_DEPRECATED);
|
| if (extension_ == content::Details<extensions::UnloadedExtensionInfo>(
|
| details)->extension)
|
| infobar()->RemoveSelf();
|
|
|