| Index: chrome/browser/automation/automation_provider.cc
|
| diff --git a/chrome/browser/automation/automation_provider.cc b/chrome/browser/automation/automation_provider.cc
|
| index 26a5792b01b7e2eb25438b7aac2171f1910975c8..fb5863ec77991d851bffc7a064a7116ee586ab7e 100644
|
| --- a/chrome/browser/automation/automation_provider.cc
|
| +++ b/chrome/browser/automation/automation_provider.cc
|
| @@ -914,7 +914,7 @@ void AutomationProvider::DisableExtension(int extension_handle,
|
| ExtensionService* service = profile_->GetExtensionService();
|
| if (extension && service) {
|
| ExtensionUnloadNotificationObserver observer;
|
| - service->DisableExtension(extension->id());
|
| + service->DisableExtension(extension->id(), Extension::DISABLE_USER_ACTION);
|
| // The extension unload notification should have been sent synchronously
|
| // with the disable. Just to be safe, check that it was received.
|
| *success = observer.did_receive_unload_notification();
|
|
|