Index: net/http/http_cache_transaction.cc |
diff --git a/net/http/http_cache_transaction.cc b/net/http/http_cache_transaction.cc |
index 8e60427e35a1a1656fde76fd5291aa66c1cd5c72..486774302a164467ba8efc5618667864cc989567 100644 |
--- a/net/http/http_cache_transaction.cc |
+++ b/net/http/http_cache_transaction.cc |
@@ -338,9 +338,9 @@ HttpCache::Transaction::Transaction( |
total_received_bytes_(0), |
websocket_handshake_stream_base_create_helper_(NULL), |
weak_factory_(this) { |
- COMPILE_ASSERT(HttpCache::Transaction::kNumValidationHeaders == |
- arraysize(kValidationHeaders), |
- Invalid_number_of_validation_headers); |
+ static_assert(HttpCache::Transaction::kNumValidationHeaders == |
+ arraysize(kValidationHeaders), |
+ "invalid number of validation headers"); |
io_callback_ = base::Bind(&Transaction::OnIOComplete, |
weak_factory_.GetWeakPtr()); |