| Index: chrome/browser/extensions/extension_disabled_ui.cc
|
| diff --git a/chrome/browser/extensions/extension_disabled_ui.cc b/chrome/browser/extensions/extension_disabled_ui.cc
|
| index ed8c203dd11c8883f5bdef9c5edd082c580be2d7..1d7d59ffa0db8eb97fa991961fc3906ef6a7e9a9 100644
|
| --- a/chrome/browser/extensions/extension_disabled_ui.cc
|
| +++ b/chrome/browser/extensions/extension_disabled_ui.cc
|
| @@ -188,6 +188,7 @@ ExtensionDisabledGlobalError::ExtensionDisabledGlobalError(
|
| }
|
|
|
| ExtensionDisabledGlobalError::~ExtensionDisabledGlobalError() {
|
| + ReleaseMenuCommandID(menu_command_id_);
|
| HISTOGRAM_ENUMERATION("Extensions.DisabledUIUserResponse",
|
| user_response_, EXTENSION_DISABLED_UI_BUCKET_BOUNDARY);
|
| }
|
| @@ -283,7 +284,6 @@ void ExtensionDisabledGlobalError::Observe(
|
| if (extension == extension_) {
|
| GlobalErrorServiceFactory::GetForProfile(service_->profile())->
|
| RemoveGlobalError(this);
|
| - ReleaseMenuCommandID(menu_command_id_);
|
|
|
| if (type == chrome::NOTIFICATION_EXTENSION_LOADED)
|
| user_response_ = REENABLE;
|
|
|