Index: chrome/browser/prerender/prerender_link_manager.cc |
diff --git a/chrome/browser/prerender/prerender_link_manager.cc b/chrome/browser/prerender/prerender_link_manager.cc |
index 21a1daca5de6bf87479758d71cfd258ecabf3c60..81205778c3e8bc0c2df12fb4b1932de76aeff455 100644 |
--- a/chrome/browser/prerender/prerender_link_manager.cc |
+++ b/chrome/browser/prerender/prerender_link_manager.cc |
@@ -60,10 +60,10 @@ bool ShouldStartPrerender(const uint32 rel_types) { |
return false; |
} |
-COMPILE_ASSERT(PrerenderRelTypePrerender == 0x1, |
- RelTypeHistogramEnum_must_match_PrerenderRelType); |
-COMPILE_ASSERT(PrerenderRelTypeNext == 0x2, |
- RelTypeHistogramEnum_must_match_PrerenderRelType); |
+static_assert(PrerenderRelTypePrerender == 0x1, |
+ "RelTypeHistogrameEnum must match PrerenderRelType"); |
+static_assert(PrerenderRelTypeNext == 0x2, |
+ "RelTypeHistogramEnum must match PrerenderRelType"); |
enum RelTypeHistogramEnum { |
RelTypeHistogramEnumNone = 0, |
RelTypeHistogramEnumPrerender = PrerenderRelTypePrerender, |