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 41d18716022b9dcac36bd98a05e5b7d8cdfe1e24..9255b137eb313b285c89d9dea159afd26d28d967 100644 |
--- a/content/renderer/p2p/ipc_socket_factory.cc |
+++ b/content/renderer/p2p/ipc_socket_factory.cc |
@@ -238,7 +238,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); |
} |