| Index: chrome/browser/extensions/user_script_master.cc
|
| diff --git a/chrome/browser/extensions/user_script_master.cc b/chrome/browser/extensions/user_script_master.cc
|
| index 9648bc3d737c3c26afddf28a37b0ebb80b91b58e..03afaa5ca7ed5c2665aaeccab30af74c6d46b58e 100644
|
| --- a/chrome/browser/extensions/user_script_master.cc
|
| +++ b/chrome/browser/extensions/user_script_master.cc
|
| @@ -324,7 +324,7 @@ UserScriptMaster::UserScriptMaster(Profile* profile)
|
| content::Source<Profile>(profile_));
|
| registrar_.Add(this, chrome::NOTIFICATION_EXTENSION_LOADED,
|
| content::Source<Profile>(profile_));
|
| - registrar_.Add(this, chrome::NOTIFICATION_EXTENSION_UNLOADED,
|
| + registrar_.Add(this, chrome::NOTIFICATION_EXTENSION_UNLOADED_DEPRECATED,
|
| content::Source<Profile>(profile_));
|
| registrar_.Add(this, content::NOTIFICATION_RENDERER_PROCESS_CREATED,
|
| content::NotificationService::AllBrowserContextsAndSources());
|
| @@ -392,7 +392,7 @@ void UserScriptMaster::Observe(int type,
|
| should_start_load = true;
|
| break;
|
| }
|
| - case chrome::NOTIFICATION_EXTENSION_UNLOADED: {
|
| + case chrome::NOTIFICATION_EXTENSION_UNLOADED_DEPRECATED: {
|
| // Remove any content scripts.
|
| const Extension* extension =
|
| content::Details<UnloadedExtensionInfo>(details)->extension;
|
|
|