Index: content/renderer/manifest/manifest_parser.cc |
diff --git a/content/renderer/manifest/manifest_parser.cc b/content/renderer/manifest/manifest_parser.cc |
index 163d3432cfa698c30e994a2a9057418563e42ce3..3e08f8c55f995181d8467dd7cf241feb9357d4b5 100644 |
--- a/content/renderer/manifest/manifest_parser.cc |
+++ b/content/renderer/manifest/manifest_parser.cc |
@@ -54,7 +54,7 @@ base::NullableString16 ParseShortName( |
namespace content { |
Manifest ManifestParser::Parse(const base::StringPiece& json) { |
- base::Value* value = base::JSONReader::Read(json); |
+ scoped_ptr<base::Value> value(base::JSONReader::Read(json)); |
if (!value) { |
// TODO(mlamouri): get the JSON parsing error and report it to the developer |
// console. |