diff options
author | mostynb <mostynb@opera.com> | 2014-12-23 01:02:43 -0800 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2014-12-23 09:03:34 +0000 |
commit | 3a46e0bf9308a42642689c4b73b6b8622aeecbe5 (patch) | |
tree | 6af2d11124f5c7f992c4a669cabbaf0e3b61e563 /chrome/browser/ui/exclusive_access/fullscreen_controller_state_test.cc | |
parent | 4e068052de57e692e4104d7974ff17e7788405fc (diff) | |
download | chromium_src-3a46e0bf9308a42642689c4b73b6b8622aeecbe5.zip chromium_src-3a46e0bf9308a42642689c4b73b6b8622aeecbe5.tar.gz chromium_src-3a46e0bf9308a42642689c4b73b6b8622aeecbe5.tar.bz2 |
replace COMPILE_ASSERT with static_assert in chrome/browser/
BUG=442514
Review URL: https://codereview.chromium.org/815363002
Cr-Commit-Position: refs/heads/master@{#309547}
Diffstat (limited to 'chrome/browser/ui/exclusive_access/fullscreen_controller_state_test.cc')
-rw-r--r-- | chrome/browser/ui/exclusive_access/fullscreen_controller_state_test.cc | 4 |
1 files changed, 2 insertions, 2 deletions
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 a4a8850..fd0ab5b 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)); |