Index: chrome/browser/ui/panels/panel.cc |
diff --git a/chrome/browser/ui/panels/panel.cc b/chrome/browser/ui/panels/panel.cc |
index 27e08a327650afad6197952692222064c9034ba8..c1517399aabadc5f49bb4b775d03343df99bcd7b 100644 |
--- a/chrome/browser/ui/panels/panel.cc |
+++ b/chrome/browser/ui/panels/panel.cc |
@@ -438,7 +438,7 @@ void Panel::Observe(int type, |
case content::NOTIFICATION_RENDER_VIEW_HOST_CHANGED: |
ConfigureAutoResize(content::Source<content::WebContents>(source).ptr()); |
break; |
- case chrome::NOTIFICATION_EXTENSION_UNLOADED: |
+ case chrome::NOTIFICATION_EXTENSION_UNLOADED_DEPRECATED: |
if (content::Details<extensions::UnloadedExtensionInfo>( |
details)->extension->id() == extension_id()) |
Close(); |
@@ -531,7 +531,7 @@ void Panel::Initialize(const GURL& url, |
native_panel_->AttachWebContents(web_contents); |
// Close when the extension is unloaded or the browser is exiting. |
- registrar_.Add(this, chrome::NOTIFICATION_EXTENSION_UNLOADED, |
+ registrar_.Add(this, chrome::NOTIFICATION_EXTENSION_UNLOADED_DEPRECATED, |
content::Source<Profile>(profile_)); |
registrar_.Add(this, chrome::NOTIFICATION_APP_TERMINATING, |
content::NotificationService::AllSources()); |