Index: webrtc/examples/peerconnection/client/peer_connection_client.cc |
diff --git a/webrtc/examples/peerconnection/client/peer_connection_client.cc b/webrtc/examples/peerconnection/client/peer_connection_client.cc |
index 86d21193fd37c27ad65f8d210d65ccab0a02b3fb..7796220db4d316a2d3f114a6e132416af81f3ab4 100644 |
--- a/webrtc/examples/peerconnection/client/peer_connection_client.cc |
+++ b/webrtc/examples/peerconnection/client/peer_connection_client.cc |
@@ -500,7 +500,8 @@ void PeerConnectionClient::OnClose(rtc::AsyncSocket* socket, int err) { |
} else { |
if (socket == control_socket_.get()) { |
LOG(WARNING) << "Connection refused; retrying in 2 seconds"; |
- rtc::Thread::Current()->PostDelayed(kReconnectDelay, this, 0); |
+ rtc::Thread::Current()->PostDelayed(RTC_FROM_HERE, kReconnectDelay, this, |
+ 0); |
} else { |
Close(); |
callback_->OnDisconnected(); |