Index: net/websockets/websocket_frame_perftest.cc |
diff --git a/net/websockets/websocket_frame_perftest.cc b/net/websockets/websocket_frame_perftest.cc |
index 11fe5afab2a3ca1c3167656874a42e4a4848b8a3..98ea624ac145036b4cc588ac5dd3bfd9f74a6566 100644 |
--- a/net/websockets/websocket_frame_perftest.cc |
+++ b/net/websockets/websocket_frame_perftest.cc |
@@ -19,9 +19,9 @@ const int kIterations = 100000; |
const int kLongPayloadSize = 1 << 16; |
const char kMaskingKey[] = "\xFE\xED\xBE\xEF"; |
-COMPILE_ASSERT(arraysize(kMaskingKey) == |
- WebSocketFrameHeader::kMaskingKeyLength + 1, |
- incorrect_masking_key_size); |
+static_assert(arraysize(kMaskingKey) == |
+ WebSocketFrameHeader::kMaskingKeyLength + 1, |
+ "incorrect masking key size"); |
class WebSocketFrameTestMaskBenchmark : public ::testing::Test { |
protected: |