Commit 36816846 authored by Mounir Lamouri's avatar Mounir Lamouri

Fix lsan failure with ManifestParserTest.*

BUG=None
TBR=rockot@chromium.org
NOTRY=true
NOPRESUBMIT=true

Review URL: https://codereview.chromium.org/554043004

Cr-Commit-Position: refs/heads/master@{#294870}
parent d21a7776
......@@ -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.
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment