Index: chrome/browser/ui/exclusive_access/fullscreen_controller_state_test.cc |
diff --git a/chrome/browser/ui/exclusive_access/fullscreen_controller_state_test.cc b/chrome/browser/ui/exclusive_access/fullscreen_controller_state_test.cc |
index a4a885001ce4d865e3be0be2d99fe61fd6ab5c71..fd0ab5b4b244c7bdc63eb789539428bc8c758f51 100644 |
--- a/chrome/browser/ui/exclusive_access/fullscreen_controller_state_test.cc |
+++ b/chrome/browser/ui/exclusive_access/fullscreen_controller_state_test.cc |
@@ -195,8 +195,8 @@ FullscreenControllerStateTest::FullscreenControllerStateTest() |
STATE_TAB_FULLSCREEN, // Event WINDOW_CHANGE |
}, |
}; |
- COMPILE_ASSERT(sizeof(transition_table_data) == sizeof(transition_table_), |
- transition_table_incorrect_size); |
+ static_assert(sizeof(transition_table_data) == sizeof(transition_table_), |
+ "transition_table has unexpected size"); |
memcpy(transition_table_, transition_table_data, |
sizeof(transition_table_data)); |