Index: webrtc/p2p/base/stunrequest.cc |
diff --git a/webrtc/p2p/base/stunrequest.cc b/webrtc/p2p/base/stunrequest.cc |
index 32449e209c6d63081f00a0207d2b85015155bb8b..5886cc9defdd71d047c49e569d86e3f1e18bfc95 100644 |
--- a/webrtc/p2p/base/stunrequest.cc |
+++ b/webrtc/p2p/base/stunrequest.cc |
@@ -49,9 +49,9 @@ void StunRequestManager::SendDelayed(StunRequest* request, int delay) { |
request->Construct(); |
requests_[request->id()] = request; |
if (delay > 0) { |
- thread_->PostDelayed(delay, request, MSG_STUN_SEND, NULL); |
+ thread_->PostDelayed(RTC_FROM_HERE, delay, request, MSG_STUN_SEND, NULL); |
} else { |
- thread_->Send(request, MSG_STUN_SEND, NULL); |
+ thread_->Send(RTC_FROM_HERE, request, MSG_STUN_SEND, NULL); |
} |
} |
@@ -60,7 +60,7 @@ void StunRequestManager::Flush(int msg_type) { |
StunRequest* request = kv.second; |
if (msg_type == kAllRequests || msg_type == request->type()) { |
thread_->Clear(request, MSG_STUN_SEND); |
- thread_->Send(request, MSG_STUN_SEND, NULL); |
+ thread_->Send(RTC_FROM_HERE, request, MSG_STUN_SEND, NULL); |
} |
} |
} |
@@ -220,7 +220,8 @@ void StunRequest::OnMessage(rtc::Message* pmsg) { |
manager_->SignalSendPacket(buf.Data(), buf.Length(), this); |
OnSent(); |
- manager_->thread_->PostDelayed(resend_delay(), this, MSG_STUN_SEND, NULL); |
+ manager_->thread_->PostDelayed(RTC_FROM_HERE, resend_delay(), this, |
+ MSG_STUN_SEND, NULL); |
} |
void StunRequest::OnSent() { |