Index: webrtc/p2p/base/turnport.cc |
diff --git a/webrtc/p2p/base/turnport.cc b/webrtc/p2p/base/turnport.cc |
index 0255395012936b852f0273d95c1ab71c1703654f..4e0e34de54d1634cb966de0a15c003e9b99de05c 100644 |
--- a/webrtc/p2p/base/turnport.cc |
+++ b/webrtc/p2p/base/turnport.cc |
@@ -742,14 +742,14 @@ void TurnPort::OnAllocateError() { |
// We will send SignalPortError asynchronously as this can be sent during |
// port initialization. This way it will not be blocking other port |
// creation. |
- thread()->Post(this, MSG_ALLOCATE_ERROR); |
+ thread()->Post(FROM_HERE, this, MSG_ALLOCATE_ERROR); |
} |
void TurnPort::OnTurnRefreshError() { |
// Need to Close the port asynchronously because otherwise, the refresh |
// request may be deleted twice: once at the end of the message processing |
// and the other in Close(). |
- thread()->Post(this, MSG_REFRESH_ERROR); |
+ thread()->Post(FROM_HERE, this, MSG_REFRESH_ERROR); |
} |
void TurnPort::Close() { |
@@ -1032,7 +1032,7 @@ void TurnPort::ScheduleEntryDestruction(TurnEntry* entry) { |
int64_t timestamp = rtc::TimeMillis(); |
entry->set_destruction_timestamp(timestamp); |
invoker_.AsyncInvokeDelayed<void>( |
- thread(), |
+ FROM_HERE, thread(), |
rtc::Bind(&TurnPort::DestroyEntryIfNotCancelled, this, entry, timestamp), |
TURN_PERMISSION_TIMEOUT); |
} |
@@ -1132,7 +1132,7 @@ void TurnAllocateRequest::OnErrorResponse(StunMessage* response) { |
case STUN_ERROR_ALLOCATION_MISMATCH: |
// We must handle this error async because trying to delete the socket in |
// OnErrorResponse will cause a deadlock on the socket. |
- port_->thread()->Post(port_, TurnPort::MSG_ALLOCATE_MISMATCH); |
+ port_->thread()->Post(FROM_HERE, port_, TurnPort::MSG_ALLOCATE_MISMATCH); |
break; |
default: |
LOG_J(LS_WARNING, port_) << "Received TURN allocate error response" |
@@ -1221,7 +1221,7 @@ void TurnAllocateRequest::OnTryAlternate(StunMessage* response, int code) { |
// For TCP, we can't close the original Tcp socket during handling a 300 as |
// we're still inside that socket's event handler. Doing so will cause |
// deadlock. |
- port_->thread()->Post(port_, TurnPort::MSG_TRY_ALTERNATE_SERVER); |
+ port_->thread()->Post(FROM_HERE, port_, TurnPort::MSG_TRY_ALTERNATE_SERVER); |
} |
TurnRefreshRequest::TurnRefreshRequest(TurnPort* port) |