Index: chrome/installer/util/installation_state.cc |
diff --git a/chrome/installer/util/installation_state.cc b/chrome/installer/util/installation_state.cc |
index a926435daf1adb68031c689877059f4be5ae5de6..d2f3cb7f67d413b39d01b48c1b9d0a2df4c47ffc 100644 |
--- a/chrome/installer/util/installation_state.cc |
+++ b/chrome/installer/util/installation_state.cc |
@@ -224,12 +224,12 @@ InstallationState::InstallationState() { |
// static |
int InstallationState::IndexFromDistType(BrowserDistribution::Type type) { |
- COMPILE_ASSERT(BrowserDistribution::CHROME_BROWSER == CHROME_BROWSER_INDEX, |
- unexpected_chrome_browser_distribution_value_); |
- COMPILE_ASSERT(BrowserDistribution::CHROME_FRAME == CHROME_FRAME_INDEX, |
- unexpected_chrome_frame_distribution_value_); |
- COMPILE_ASSERT(BrowserDistribution::CHROME_BINARIES == CHROME_BINARIES_INDEX, |
- unexpected_chrome_frame_distribution_value_); |
+ static_assert(BrowserDistribution::CHROME_BROWSER == CHROME_BROWSER_INDEX, |
+ "unexpected_chrome_browser_distribution_value_"); |
+ static_assert(BrowserDistribution::CHROME_FRAME == CHROME_FRAME_INDEX, |
+ "unexpected_chrome_frame_distribution_value_"); |
+ static_assert(BrowserDistribution::CHROME_BINARIES == CHROME_BINARIES_INDEX, |
+ "unexpected_chrome_frame_distribution_value_"); |
DCHECK(type == BrowserDistribution::CHROME_BROWSER || |
type == BrowserDistribution::CHROME_FRAME || |
type == BrowserDistribution::CHROME_BINARIES); |