| Index: chrome/browser/extensions/menu_manager.cc
|
| diff --git a/chrome/browser/extensions/menu_manager.cc b/chrome/browser/extensions/menu_manager.cc
|
| index 6002ef3b3741e71d88ae7f3be2b1887b4e6288ad..dcab474b8473124b973757731a30372e23da2b8f 100644
|
| --- a/chrome/browser/extensions/menu_manager.cc
|
| +++ b/chrome/browser/extensions/menu_manager.cc
|
| @@ -303,7 +303,8 @@ const char MenuManager::kOnWebviewContextMenus[] = "webview.contextMenus";
|
|
|
| MenuManager::MenuManager(Profile* profile, StateStore* store)
|
| : profile_(profile), store_(store) {
|
| - registrar_.Add(this, chrome::NOTIFICATION_EXTENSION_LOADED,
|
| + registrar_.Add(this,
|
| + chrome::NOTIFICATION_EXTENSION_LOADED_DEPRECATED,
|
| content::Source<Profile>(profile));
|
| registrar_.Add(this, chrome::NOTIFICATION_EXTENSION_UNLOADED_DEPRECATED,
|
| content::Source<Profile>(profile));
|
| @@ -845,7 +846,7 @@ void MenuManager::Observe(int type,
|
| }
|
| break;
|
| }
|
| - case chrome::NOTIFICATION_EXTENSION_LOADED: {
|
| + case chrome::NOTIFICATION_EXTENSION_LOADED_DEPRECATED: {
|
| const Extension* extension =
|
| content::Details<const Extension>(details).ptr();
|
| if (store_ && BackgroundInfo::HasLazyBackgroundPage(extension)) {
|
|
|