Index: content/renderer/p2p/ipc_socket_factory.cc |
diff --git a/content/renderer/p2p/ipc_socket_factory.cc b/content/renderer/p2p/ipc_socket_factory.cc |
index 66c6f7e0e7d809af5ec54d727baaec7acbb4a9ac..ab437d4231cea4a4cb1063fe3b71e8c3d86f3772 100644 |
--- a/content/renderer/p2p/ipc_socket_factory.cc |
+++ b/content/renderer/p2p/ipc_socket_factory.cc |
@@ -221,7 +221,7 @@ IpcPacketSocket::IpcPacketSocket() |
current_discard_bytes_sequence_(0), |
packets_discarded_(0), |
total_packets_(0) { |
- COMPILE_ASSERT(kMaximumInFlightBytes > 0, would_send_at_zero_rate); |
+ static_assert(kMaximumInFlightBytes > 0, "would send at zero rate"); |
std::fill_n(options_, static_cast<int> (P2P_SOCKET_OPT_MAX), |
kDefaultNonSetOptionValue); |
} |