Index: content/browser/renderer_host/p2p/socket_host_udp.cc |
diff --git a/content/browser/renderer_host/p2p/socket_host_udp.cc b/content/browser/renderer_host/p2p/socket_host_udp.cc |
index 2eb3579b99800addbe0f85a0f310ae708d1b85cc..7d511c88fec2c53fda620b794dae94d42b91b7da 100644 |
--- a/content/browser/renderer_host/p2p/socket_host_udp.cc |
+++ b/content/browser/renderer_host/p2p/socket_host_udp.cc |
@@ -401,11 +401,12 @@ void P2PSocketHostUdp::HandleSendResult(uint64_t packet_id, |
P2PSendPacketMetrics(packet_id, transport_sequence_number, send_time))); |
} |
-P2PSocketHost* P2PSocketHostUdp::AcceptIncomingTcpConnection( |
- const net::IPEndPoint& remote_address, int id) { |
+std::unique_ptr<P2PSocketHost> P2PSocketHostUdp::AcceptIncomingTcpConnection( |
+ const net::IPEndPoint& remote_address, |
+ int id) { |
NOTREACHED(); |
OnError(); |
- return NULL; |
+ return nullptr; |
} |
bool P2PSocketHostUdp::SetOption(P2PSocketOption option, int value) { |