Index: net/disk_cache/blockfile/block_files.cc |
diff --git a/net/disk_cache/blockfile/block_files.cc b/net/disk_cache/blockfile/block_files.cc |
index 58d25da97900a6c0d0b75910f5a9e36489af40cf..525141b66c2a88ad18bc094e36a6642b11354dd0 100644 |
--- a/net/disk_cache/blockfile/block_files.cc |
+++ b/net/disk_cache/blockfile/block_files.cc |
@@ -548,7 +548,7 @@ bool BlockFiles::GrowBlockFile(MappedFile* file, BlockFileHeader* header) { |
} |
MappedFile* BlockFiles::FileForNewBlock(FileType block_type, int block_count) { |
- COMPILE_ASSERT(RANKINGS == 1, invalid_file_type); |
+ static_assert(RANKINGS == 1, "invalid file type"); |
MappedFile* file = block_files_[block_type - 1]; |
BlockHeader file_header(file); |