Index: webrtc/api/dtlsidentitystore.cc |
diff --git a/webrtc/api/dtlsidentitystore.cc b/webrtc/api/dtlsidentitystore.cc |
index bdccc10c1b03469a5995a047aae2198a83ba861b..d725ff4c4743feefe7571488f4cf007b1135998b 100644 |
--- a/webrtc/api/dtlsidentitystore.cc |
+++ b/webrtc/api/dtlsidentitystore.cc |
@@ -58,7 +58,7 @@ class DtlsIdentityStoreImpl::WorkerTask : public sigslot::has_slots<>, |
// |signaling_thread_| and thus avoids having to use locks. |
IdentityResultMessageData* msg = new IdentityResultMessageData( |
new IdentityResult(key_type_, std::move(identity))); |
- signaling_thread_->Post(this, MSG_GENERATE_IDENTITY_RESULT, msg); |
+ signaling_thread_->Post(FROM_HERE, this, MSG_GENERATE_IDENTITY_RESULT, msg); |
} |
void OnMessage(rtc::Message* msg) override { |
@@ -69,7 +69,7 @@ class DtlsIdentityStoreImpl::WorkerTask : public sigslot::has_slots<>, |
// Must delete |this|, owned by msg->pdata, on the signaling thread to |
// avoid races on disconnecting the signal. |
- signaling_thread_->Post(this, MSG_DESTROY, msg->pdata); |
+ signaling_thread_->Post(FROM_HERE, this, MSG_DESTROY, msg->pdata); |
break; |
case MSG_GENERATE_IDENTITY_RESULT: |
RTC_DCHECK(signaling_thread_->IsCurrent()); |
@@ -163,7 +163,8 @@ void DtlsIdentityStoreImpl::GenerateIdentity( |
IdentityResultMessageData* msg = |
new IdentityResultMessageData(new IdentityResult( |
key_type, std::move(request_info_[key_type].free_identity_))); |
- signaling_thread_->Post(this, MSG_GENERATE_IDENTITY_RESULT, msg); |
+ signaling_thread_->Post(FROM_HERE, this, MSG_GENERATE_IDENTITY_RESULT, |
+ msg); |
return; |
} |
@@ -182,7 +183,7 @@ void DtlsIdentityStoreImpl::GenerateIdentity( |
// The WorkerTask is owned by the message data to make sure it will not be |
// leaked even if the task does not get run. |
WorkerTaskMessageData* msg = new WorkerTaskMessageData(task); |
- worker_thread_->Post(task, MSG_GENERATE_IDENTITY, msg); |
+ worker_thread_->Post(FROM_HERE, task, MSG_GENERATE_IDENTITY, msg); |
} |
void DtlsIdentityStoreImpl::OnIdentityGenerated( |