| Index: net/disk_cache/blockfile/backend_impl_v3.cc
|
| diff --git a/net/disk_cache/blockfile/backend_impl_v3.cc b/net/disk_cache/blockfile/backend_impl_v3.cc
|
| index a1024b454091014bf143339b6b76ad1c4a8733b0..0b0e2326a6c44ba85fd17ccfef6a84358fed65d9 100644
|
| --- a/net/disk_cache/blockfile/backend_impl_v3.cc
|
| +++ b/net/disk_cache/blockfile/backend_impl_v3.cc
|
| @@ -91,7 +91,8 @@ int BackendImplV3::Init(const CompletionCallback& callback) {
|
| // ------------------------------------------------------------------------
|
|
|
| bool BackendImplV3::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;
|
|
|
|
|