Index: chrome/common/extensions/api/webstore/webstore_api_constants.cc |
diff --git a/chrome/common/extensions/api/webstore/webstore_api_constants.cc b/chrome/common/extensions/api/webstore/webstore_api_constants.cc |
index 04cd62796fc8fa62920fd9801ae7dd2782d429bf..09b0b76d187ade5bb5e3ca972e8d29c94fcdbdd1 100644 |
--- a/chrome/common/extensions/api/webstore/webstore_api_constants.cc |
+++ b/chrome/common/extensions/api/webstore/webstore_api_constants.cc |
@@ -35,9 +35,9 @@ const char* const kInstallResultCodes[] = { |
"launchInProgress", |
}; |
-COMPILE_ASSERT(arraysize(kInstallResultCodes) == |
- webstore_install::RESULT_LAST + 1, |
- must_keep_webstore_install_result_and_api_constants_in_sync); |
+static_assert(arraysize(kInstallResultCodes) == |
+ webstore_install::RESULT_LAST + 1, |
+ "kInstallResultCodes should equal RESULT_LAST + 1"); |
// The "downloading" stage begins when the installer starts downloading modules |
// for the extension. |