Index: net/http/http_response_body_drainer_unittest.cc |
diff --git a/net/http/http_response_body_drainer_unittest.cc b/net/http/http_response_body_drainer_unittest.cc |
index 371e9a76f69008e64081d78ef939aed5489a374a..8cce583021f5911a560d16b2cac97263daff0c10 100644 |
--- a/net/http/http_response_body_drainer_unittest.cc |
+++ b/net/http/http_response_body_drainer_unittest.cc |
@@ -26,9 +26,9 @@ namespace net { |
namespace { |
const int kMagicChunkSize = 1024; |
-COMPILE_ASSERT( |
- (HttpResponseBodyDrainer::kDrainBodyBufferSize % kMagicChunkSize) == 0, |
- chunk_size_needs_to_divide_evenly_into_buffer_size); |
+static_assert((HttpResponseBodyDrainer::kDrainBodyBufferSize % |
+ kMagicChunkSize) == 0, |
+ "chunk size needs to divide evenly into buffer size"); |
class CloseResultWaiter { |
public: |