Index: base/json/json_reader.cc |
diff --git a/base/json/json_reader.cc b/base/json/json_reader.cc |
index 2050b0ff310e059e641b918f8a00652a5f83dcbd..015df4379de82fd135ccf3c0c812de27af4ebde1 100644 |
--- a/base/json/json_reader.cc |
+++ b/base/json/json_reader.cc |
@@ -11,8 +11,8 @@ |
namespace base { |
// Values 1000 and above are used by JSONFileValueSerializer::JsonFileError. |
-COMPILE_ASSERT(JSONReader::JSON_PARSE_ERROR_COUNT < 1000, |
- json_reader_error_out_of_bounds); |
+static_assert(JSONReader::JSON_PARSE_ERROR_COUNT < 1000, |
+ "JSONReader error out of bounds"); |
const char JSONReader::kInvalidEscape[] = |
"Invalid escape sequence."; |