Index: chrome/browser/prerender/prerender_origin.cc |
diff --git a/chrome/browser/prerender/prerender_origin.cc b/chrome/browser/prerender/prerender_origin.cc |
index 56e6c073aa981679b44d59d93bd5b0256abb33a7..ae8d9acd4257fa3b192f67078c29f1339291c891 100644 |
--- a/chrome/browser/prerender/prerender_origin.cc |
+++ b/chrome/browser/prerender/prerender_origin.cc |
@@ -28,8 +28,8 @@ const char* kOriginNames[] = { |
"Link Rel Next", |
"Max", |
}; |
-COMPILE_ASSERT(arraysize(kOriginNames) == ORIGIN_MAX + 1, |
- PrerenderOrigin_name_count_mismatch); |
+static_assert(arraysize(kOriginNames) == ORIGIN_MAX + 1, |
+ "prerender origin name count mismatch"); |
} // namespace |