Index: chrome/browser/extensions/extension_service.cc |
diff --git a/chrome/browser/extensions/extension_service.cc b/chrome/browser/extensions/extension_service.cc |
index babd9753c7666c0e6e742e58a8d716fe28002c8b..5cd1701ae6e46d653b9cd655b455503bcbea199c 100644 |
--- a/chrome/browser/extensions/extension_service.cc |
+++ b/chrome/browser/extensions/extension_service.cc |
@@ -1805,7 +1805,8 @@ void ExtensionService::OnExtensionInstalled( |
} |
if (disable_reasons) |
- extension_prefs_->AddDisableReasons(id, disable_reasons); |
+ extension_prefs_->AddDisableReason(id, |
+ static_cast<Extension::DisableReason>(disable_reasons)); |
const Extension::State initial_state = |
disable_reasons == Extension::DISABLE_NONE ? Extension::ENABLED |