Index: extensions/common/constants.cc |
diff --git a/extensions/common/constants.cc b/extensions/common/constants.cc |
index c9fe31c3a45fb29772c09eb99c23b5a0247e8ff1..284ad95178a38dc6e5227a82657c12c0e6418376 100644 |
--- a/extensions/common/constants.cc |
+++ b/extensions/common/constants.cc |
@@ -80,8 +80,8 @@ const IconRepresentationInfo kExtensionActionIconSizes[] = { |
{ 2 * EXTENSION_ICON_ACTION, "38", ui::SCALE_FACTOR_200P } |
}; |
-COMPILE_ASSERT(kNumExtensionActionIconSizes == |
- arraysize(kExtensionActionIconSizes), |
- num_action_icon_sizes_must_be_in_sync_with_action_icon_sizes); |
+static_assert(kNumExtensionActionIconSizes == |
+ arraysize(kExtensionActionIconSizes), |
+ "num action icon sizes must be in sync with action icon sizes"); |
} // namespace extension_misc |