Index: net/disk_cache/entry_unittest.cc |
diff --git a/net/disk_cache/entry_unittest.cc b/net/disk_cache/entry_unittest.cc |
index 03cc86b9de9f66a5a116f4fb985642cfa2fb6e9c..228c654221e85c8a96a2d151183ff545f43a6931 100644 |
--- a/net/disk_cache/entry_unittest.cc |
+++ b/net/disk_cache/entry_unittest.cc |
@@ -670,7 +670,8 @@ void DiskCacheEntryTest::StreamAccess() { |
ASSERT_TRUE(NULL != entry); |
const int kReadBufferSize = 600; |
const int kFinalReadSize = kBufferSize - kReadBufferSize; |
- COMPILE_ASSERT(kFinalReadSize < kReadBufferSize, should_be_exactly_two_reads); |
+ static_assert(kFinalReadSize < kReadBufferSize, |
+ "should be exactly two reads"); |
scoped_refptr<net::IOBuffer> buffer2(new net::IOBuffer(kReadBufferSize)); |
for (int i = 0; i < kNumStreams; i++) { |
memset(buffer2->data(), 0, kReadBufferSize); |