| Index: chrome/common/extensions/extension_messages.cc
|
| diff --git a/chrome/common/extensions/extension_messages.cc b/chrome/common/extensions/extension_messages.cc
|
| index b9ba244db75ed396f75d7be27030bd126fceba36..88c9492680bf76f177bb5e0cb3d238cc96f7a128 100644
|
| --- a/chrome/common/extensions/extension_messages.cc
|
| +++ b/chrome/common/extensions/extension_messages.cc
|
| @@ -49,17 +49,11 @@ ExtensionMsg_Loaded_Params::ExtensionMsg_Loaded_Params(
|
|
|
| scoped_refptr<Extension>
|
| ExtensionMsg_Loaded_Params::ConvertToExtension() const {
|
| - // Extensions that are loaded unpacked won't have a key.
|
| - const bool kRequireKey = false;
|
| -
|
| - // The extension may have been loaded in a way that does not require
|
| - // strict error checks to pass. Do not do strict checks here.
|
| - const bool kStrictErrorChecks = false;
|
| std::string error;
|
|
|
| scoped_refptr<Extension> extension(
|
| - Extension::Create(path, location, *manifest, kRequireKey,
|
| - kStrictErrorChecks, &error));
|
| + Extension::Create(path, location, *manifest, Extension::NO_FLAGS,
|
| + &error));
|
| if (!extension.get())
|
| LOG(ERROR) << "Error deserializing extension: " << error;
|
|
|
|
|