Index: net/disk_cache/blockfile/backend_impl.cc |
diff --git a/net/disk_cache/blockfile/backend_impl.cc b/net/disk_cache/blockfile/backend_impl.cc |
index 1998d331d2a119407591c95663659f77c85ba261..bf76842cc8655ff264c0145a3b8fbcafe6c9d022 100644 |
--- a/net/disk_cache/blockfile/backend_impl.cc |
+++ b/net/disk_cache/blockfile/backend_impl.cc |
@@ -677,7 +677,8 @@ EntryImpl* BackendImpl::OpenNextEntryImpl(Rankings::Iterator* iterator) { |
} |
bool BackendImpl::SetMaxSize(int max_bytes) { |
- COMPILE_ASSERT(sizeof(max_bytes) == sizeof(max_size_), unsupported_int_model); |
+ static_assert(sizeof(max_bytes) == sizeof(max_size_), |
+ "unsupported int model"); |
if (max_bytes < 0) |
return false; |