| Index: chrome/browser/extensions/active_tab_permission_granter.cc
|
| diff --git a/chrome/browser/extensions/active_tab_permission_granter.cc b/chrome/browser/extensions/active_tab_permission_granter.cc
|
| index b3106db4e9c3815fab0a72978c375c07c630f13f..ecedd3458bd5e6bca93800f98879b9ee0fa16fa4 100644
|
| --- a/chrome/browser/extensions/active_tab_permission_granter.cc
|
| +++ b/chrome/browser/extensions/active_tab_permission_granter.cc
|
| @@ -30,7 +30,7 @@ ActiveTabPermissionGranter::ActiveTabPermissionGranter(
|
| content::WebContents* web_contents, int tab_id, Profile* profile)
|
| : WebContentsObserver(web_contents), tab_id_(tab_id) {
|
| registrar_.Add(this,
|
| - chrome::NOTIFICATION_EXTENSION_UNLOADED,
|
| + chrome::NOTIFICATION_EXTENSION_UNLOADED_DEPRECATED,
|
| content::Source<Profile>(profile));
|
| }
|
|
|
| @@ -94,7 +94,7 @@ void ActiveTabPermissionGranter::Observe(
|
| int type,
|
| const content::NotificationSource& source,
|
| const content::NotificationDetails& details) {
|
| - DCHECK_EQ(type, chrome::NOTIFICATION_EXTENSION_UNLOADED);
|
| + DCHECK_EQ(type, chrome::NOTIFICATION_EXTENSION_UNLOADED_DEPRECATED);
|
| const Extension* extension =
|
| content::Details<UnloadedExtensionInfo>(details)->extension;
|
| // Note: don't need to clear the permissions (nor tell the renderer about it)
|
|
|