Index: chrome/installer/util/logging_installer.h |
diff --git a/chrome/installer/util/logging_installer.h b/chrome/installer/util/logging_installer.h |
index 42153ba4b83cc8e2b612d223eae08dec245fc831..dcea39f156b5ade5d1e4f71a841f54d697dbb289 100644 |
--- a/chrome/installer/util/logging_installer.h |
+++ b/chrome/installer/util/logging_installer.h |
@@ -24,8 +24,9 @@ const int kMaxInstallerLogFileSize = 1024 * 1024; |
// truncation on every update. |
const int kTruncatedInstallerLogFileSize = kMaxInstallerLogFileSize / 2; |
-COMPILE_ASSERT(kTruncatedInstallerLogFileSize < kMaxInstallerLogFileSize, |
- kTruncatedInstallerLogFileSize_not_lt_kMaxInstallerLogFileSize); |
+static_assert(kTruncatedInstallerLogFileSize < kMaxInstallerLogFileSize, |
+ "kTruncatedInstallerLogFileSize must be less than " |
+ "kMaxInstallerLogFileSize"); |
enum TruncateResult { |
LOGFILE_UNTOUCHED, |