Index: chrome/browser/ui/panels/panel.cc |
diff --git a/chrome/browser/ui/panels/panel.cc b/chrome/browser/ui/panels/panel.cc |
index 725cccf7cecb92d0c1cf7c0cf737cdc17a76e686..f85704062064f3356085d05fd3f35be25441db9e 100644 |
--- a/chrome/browser/ui/panels/panel.cc |
+++ b/chrome/browser/ui/panels/panel.cc |
@@ -439,7 +439,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_DEPRECATED: |
+ case extensions::NOTIFICATION_EXTENSION_UNLOADED_DEPRECATED: |
if (content::Details<extensions::UnloadedExtensionInfo>( |
details)->extension->id() == extension_id()) |
Close(); |
@@ -532,7 +532,8 @@ 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_DEPRECATED, |
+ registrar_.Add(this, |
+ extensions::NOTIFICATION_EXTENSION_UNLOADED_DEPRECATED, |
content::Source<Profile>(profile_)); |
registrar_.Add(this, chrome::NOTIFICATION_APP_TERMINATING, |
content::NotificationService::AllSources()); |