Index: chrome/browser/signin/signin_error_notifier_ash_unittest.cc |
diff --git a/chrome/browser/signin/signin_error_notifier_ash_unittest.cc b/chrome/browser/signin/signin_error_notifier_ash_unittest.cc |
index 0f5b4f2cd6f256bfe79194709173f1f9a4e2c9ed..e49b489ec6f1a5a47605d58112ce3deb202a3f8f 100644 |
--- a/chrome/browser/signin/signin_error_notifier_ash_unittest.cc |
+++ b/chrome/browser/signin/signin_error_notifier_ash_unittest.cc |
@@ -236,8 +236,8 @@ TEST_F(SigninErrorNotifierTest, AuthStatusEnumerateAllErrors) { |
{ GoogleServiceAuthError::SERVICE_ERROR, true }, |
{ GoogleServiceAuthError::WEB_LOGIN_REQUIRED, true }, |
}; |
- COMPILE_ASSERT(arraysize(table) == GoogleServiceAuthError::NUM_STATES, |
- kTable_size_does_not_match_number_of_auth_error_types); |
+ static_assert(arraysize(table) == GoogleServiceAuthError::NUM_STATES, |
+ "table size should match number of auth error types"); |
for (size_t i = 0; i < arraysize(table); ++i) { |
FakeAuthStatusProvider provider(error_controller_); |