Index: chrome/browser/diagnostics/diagnostics_metrics.cc |
diff --git a/chrome/browser/diagnostics/diagnostics_metrics.cc b/chrome/browser/diagnostics/diagnostics_metrics.cc |
index 51d4769ef198a8bf8db683f183b94801d0eaba83..eea82780a8369320a09ce00e92478d9825109a05 100644 |
--- a/chrome/browser/diagnostics/diagnostics_metrics.cc |
+++ b/chrome/browser/diagnostics/diagnostics_metrics.cc |
@@ -53,8 +53,8 @@ const TestNameInfo kTestNameInfo[] = { |
// Add new entries in the same order as DiagnosticsTestId. |
}; |
-COMPILE_ASSERT(arraysize(kTestNameInfo) == DIAGNOSTICS_TEST_ID_COUNT, |
- diagnostics_test_info_mismatch); |
+static_assert(arraysize(kTestNameInfo) == DIAGNOSTICS_TEST_ID_COUNT, |
+ "diagnostics test info mismatch"); |
const TestNameInfo* FindTestInfo(DiagnosticsTestId id) { |
DCHECK(id < DIAGNOSTICS_TEST_ID_COUNT); |