diff options
Diffstat (limited to 'chrome/browser/extensions/sandboxed_extension_unpacker.cc')
-rw-r--r-- | chrome/browser/extensions/sandboxed_extension_unpacker.cc | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/chrome/browser/extensions/sandboxed_extension_unpacker.cc b/chrome/browser/extensions/sandboxed_extension_unpacker.cc index 600d832..ab72325 100644 --- a/chrome/browser/extensions/sandboxed_extension_unpacker.cc +++ b/chrome/browser/extensions/sandboxed_extension_unpacker.cc @@ -276,10 +276,7 @@ DictionaryValue* SandboxedExtensionUnpacker::RewriteManifestFile( static_cast<DictionaryValue*>(manifest.DeepCopy())); final_manifest->SetString(extension_manifest_keys::kPublicKey, public_key_); - bool web_content_enabled = false; - if (final_manifest->GetBoolean(extension_manifest_keys::kWebContentEnabled, - &web_content_enabled) && - web_content_enabled) { + if (final_manifest->HasKey(extension_manifest_keys::kApp)) { bool has_web_origin = final_manifest->Get(extension_manifest_keys::kWebOrigin, NULL); if (force_web_origin_override_) { |