Index: chrome/browser/prerender/prerender_events.cc |
diff --git a/chrome/browser/prerender/prerender_events.cc b/chrome/browser/prerender/prerender_events.cc |
index 5e8389d0df75305798e402d3824c3d541c309bb1..a7ac644ea0b03e8159ec5448279474595b59694a 100644 |
--- a/chrome/browser/prerender/prerender_events.cc |
+++ b/chrome/browser/prerender/prerender_events.cc |
@@ -38,8 +38,8 @@ const char* kEventNames[] = { |
"Max", |
}; |
-COMPILE_ASSERT(arraysize(kEventNames) == PRERENDER_EVENT_MAX + 1, |
- PrerenderEvent_name_count_mismatch); |
+static_assert(arraysize(kEventNames) == PRERENDER_EVENT_MAX + 1, |
+ "kEventNames array size is incorrect"); |
} // namespace |