Index: chrome/browser/extensions/sandboxed_extension_unpacker.cc |
diff --git a/chrome/browser/extensions/sandboxed_extension_unpacker.cc b/chrome/browser/extensions/sandboxed_extension_unpacker.cc |
index 9d7e45b7c1c98cfc20b7b70053c4ee6d0ba0e70b..6ae14a236e75abce1e502b383ba49c3c43ecc414 100644 |
--- a/chrome/browser/extensions/sandboxed_extension_unpacker.cc |
+++ b/chrome/browser/extensions/sandboxed_extension_unpacker.cc |
@@ -325,8 +325,7 @@ DictionaryValue* SandboxedExtensionUnpacker::RewriteManifestFile( |
// Add the public key extracted earlier to the parsed manifest and overwrite |
// the original manifest. We do this to ensure the manifest doesn't contain an |
// exploitable bug that could be used to compromise the browser. |
- scoped_ptr<DictionaryValue> final_manifest( |
- static_cast<DictionaryValue*>(manifest.DeepCopy())); |
+ scoped_ptr<DictionaryValue> final_manifest(manifest.DeepCopy()); |
final_manifest->SetString(extension_manifest_keys::kPublicKey, public_key_); |
std::string manifest_json; |