Index: components/devtools_bridge/socket_tunnel_connection.cc |
diff --git a/components/devtools_bridge/socket_tunnel_connection.cc b/components/devtools_bridge/socket_tunnel_connection.cc |
index da9def2614bbb20b10892477a20ef0e55ddadc12..9fba14309f035a0b7086bf42930dd89878d0354d 100644 |
--- a/components/devtools_bridge/socket_tunnel_connection.cc |
+++ b/components/devtools_bridge/socket_tunnel_connection.cc |
@@ -30,8 +30,8 @@ void SocketTunnelConnection::Write(scoped_refptr<net::IOBufferWithSize> chunk) { |
void SocketTunnelConnection::BuildControlPacket(char* buffer, |
int op_code) { |
- COMPILE_ASSERT(kControlPacketSizeBytes == 3, |
- unexpected_control_packet_size); |
+ static_assert(kControlPacketSizeBytes == 3, |
+ "kControlPacketSizeBytes should equal 3"); |
buffer[0] = kControlConnectionId; |
buffer[1] = op_code; |
buffer[2] = index_ + kMinConnectionId; |