Chromium Code Reviews| Index: base/json/json_parser.cc |
| diff --git a/base/json/json_parser.cc b/base/json/json_parser.cc |
| index c6f6409df62b87201207ef993addcb90df6d7187..a91038cee986b4bb02a4a1d9c41923c9a92998a2 100644 |
| --- a/base/json/json_parser.cc |
| +++ b/base/json/json_parser.cc |
| @@ -804,7 +804,7 @@ std::unique_ptr<Value> JSONParser::ConsumeLiteral() { |
| return nullptr; |
| } |
| NextNChars(kNullLen - 1); |
| - return Value::CreateNullValue(); |
| + return MakeUnique<Value>(); |
| } |
| default: |
| ReportError(JSONReader::JSON_UNEXPECTED_TOKEN, 1); |