| Index: base/json/json_writer.cc
|
| diff --git a/base/json/json_writer.cc b/base/json/json_writer.cc
|
| index 07b9d5091c80f6ba3292bbfa711429c9ec44dc23..301b19174dcf020f0f779fa1c09b3ce3b2ea32dd 100644
|
| --- a/base/json/json_writer.cc
|
| +++ b/base/json/json_writer.cc
|
| @@ -198,6 +198,11 @@ bool JSONWriter::BuildJSONString(const Value& node, size_t depth) {
|
| // Successful only if we're allowed to omit it.
|
| DLOG_IF(ERROR, !omit_binary_values_) << "Cannot serialize binary value.";
|
| return omit_binary_values_;
|
| +
|
| + case Value::Type::DELETED:
|
| + // TODO(crbug.com/697817): This means |node| is used after free.
|
| + CHECK(false);
|
| + return false;
|
| }
|
| NOTREACHED();
|
| return false;
|
|
|