Index: components/crash/browser/crash_handler_host_linux.cc |
diff --git a/components/crash/browser/crash_handler_host_linux.cc b/components/crash/browser/crash_handler_host_linux.cc |
index 93ca11eea29f4dcf26ccee8f5a4d80a75e3950f1..7811a048b82b63cdf737cde5ee3bc969454fd946 100644 |
--- a/components/crash/browser/crash_handler_host_linux.cc |
+++ b/components/crash/browser/crash_handler_host_linux.cc |
@@ -184,11 +184,11 @@ void CrashHandlerHostLinux::OnFileCanReadWithoutBlocking(int fd) { |
iov[5].iov_base = serialized_crash_keys; |
iov[5].iov_len = crash_keys_size; |
#if !defined(ADDRESS_SANITIZER) |
- COMPILE_ASSERT(5 == kCrashIovSize - 1, Incorrect_Number_Of_Iovec_Members); |
+ static_assert(5 == kCrashIovSize - 1, "kCrashIovSize should equal 6"); |
#else |
iov[6].iov_base = asan_report.get(); |
iov[6].iov_len = kMaxAsanReportSize + 1; |
- COMPILE_ASSERT(6 == kCrashIovSize - 1, Incorrect_Number_Of_Iovec_Members); |
+ static_assert(6 == kCrashIovSize - 1, "kCrashIovSize should equal 7"); |
#endif |
msg.msg_iov = iov; |
msg.msg_iovlen = kCrashIovSize; |