Index: chrome/installer/setup/setup_main.cc |
diff --git a/chrome/installer/setup/setup_main.cc b/chrome/installer/setup/setup_main.cc |
index f05feae840fa9b96559a011f9fb430f08d5f9d71..ce590b0bf0e504ecde339932115ad90062aafa2f 100644 |
--- a/chrome/installer/setup/setup_main.cc |
+++ b/chrome/installer/setup/setup_main.cc |
@@ -1500,9 +1500,9 @@ |
} |
uint32 higher_products = 0; |
- static_assert( |
+ COMPILE_ASSERT( |
sizeof(higher_products) * 8 > BrowserDistribution::NUM_TYPES, |
- "too many distribution types"); |
+ too_many_distribution_types_); |
const Products& products = installer_state.products(); |
for (Products::const_iterator it = products.begin(); it < products.end(); |
++it) { |
@@ -1520,8 +1520,8 @@ |
} |
if (higher_products != 0) { |
- static_assert(BrowserDistribution::NUM_TYPES == 4, |
- "add support for new products here"); |
+ COMPILE_ASSERT(BrowserDistribution::NUM_TYPES == 4, |
+ add_support_for_new_products_here_); |
const uint32 kBrowserBit = 1 << BrowserDistribution::CHROME_BROWSER; |
int message_id = 0; |