Index: webrtc/api/webrtcsessiondescriptionfactory.cc |
diff --git a/webrtc/api/webrtcsessiondescriptionfactory.cc b/webrtc/api/webrtcsessiondescriptionfactory.cc |
index e88262fbdc5a1921e7e407b70b85f07d2bd98835..0eb2f02975f06d2b0334fb9c8594bc224231cd46 100644 |
--- a/webrtc/api/webrtcsessiondescriptionfactory.cc |
+++ b/webrtc/api/webrtcsessiondescriptionfactory.cc |
@@ -221,7 +221,7 @@ WebRtcSessionDescriptionFactory::WebRtcSessionDescriptionFactory( |
// it in the constructor then the caller has not had a chance to connect to |
// SignalIdentityReady. |
signaling_thread_->Post( |
- this, MSG_USE_CONSTRUCTOR_CERTIFICATE, |
+ FROM_HERE, this, MSG_USE_CONSTRUCTOR_CERTIFICATE, |
new rtc::ScopedRefMessageData<rtc::RTCCertificate>(certificate)); |
} |
@@ -476,7 +476,8 @@ void WebRtcSessionDescriptionFactory::PostCreateSessionDescriptionFailed( |
CreateSessionDescriptionObserver* observer, const std::string& error) { |
CreateSessionDescriptionMsg* msg = new CreateSessionDescriptionMsg(observer); |
msg->error = error; |
- signaling_thread_->Post(this, MSG_CREATE_SESSIONDESCRIPTION_FAILED, msg); |
+ signaling_thread_->Post(FROM_HERE, this, MSG_CREATE_SESSIONDESCRIPTION_FAILED, |
+ msg); |
LOG(LS_ERROR) << "Create SDP failed: " << error; |
} |
@@ -485,7 +486,8 @@ void WebRtcSessionDescriptionFactory::PostCreateSessionDescriptionSucceeded( |
SessionDescriptionInterface* description) { |
CreateSessionDescriptionMsg* msg = new CreateSessionDescriptionMsg(observer); |
msg->description.reset(description); |
- signaling_thread_->Post(this, MSG_CREATE_SESSIONDESCRIPTION_SUCCESS, msg); |
+ signaling_thread_->Post(FROM_HERE, this, |
+ MSG_CREATE_SESSIONDESCRIPTION_SUCCESS, msg); |
} |
void WebRtcSessionDescriptionFactory::OnIdentityRequestFailed(int error) { |