| Index: tools/json_schema_compiler/test/test_util.cc
|
| diff --git a/tools/json_schema_compiler/test/test_util.cc b/tools/json_schema_compiler/test/test_util.cc
|
| index 60744ba57b2e27297a01f93dacf72a9cfa18ce71..8e3cce2f487ab5fd4db287df702332a3882459f8 100644
|
| --- a/tools/json_schema_compiler/test/test_util.cc
|
| +++ b/tools/json_schema_compiler/test/test_util.cc
|
| @@ -18,8 +18,8 @@ std::unique_ptr<base::Value> ReadJson(const base::StringPiece& json) {
|
| std::string error_msg;
|
| std::unique_ptr<base::Value> result(base::JSONReader::ReadAndReturnError(
|
| json, base::JSON_ALLOW_TRAILING_COMMAS, &error_code, &error_msg));
|
| - // CHECK not ASSERT since passing invalid |json| is a test error.
|
| - CHECK(result) << error_msg;
|
| + // Crash on failure since passing invalid |json| is a test error.
|
| + LOG_IF(FATAL, !result) << error_msg;
|
| return result;
|
| }
|
|
|
|
|