Index: webrtc/api/peerconnectionfactory.cc |
diff --git a/webrtc/api/peerconnectionfactory.cc b/webrtc/api/peerconnectionfactory.cc |
index 5d8f79c40cc5b695a78baf310de861086aff99d2..a41b77a6c6f42bb57e4e7f021302a016507218a9 100644 |
--- a/webrtc/api/peerconnectionfactory.cc |
+++ b/webrtc/api/peerconnectionfactory.cc |
@@ -93,7 +93,7 @@ CreatePeerConnectionFactory( |
MethodCall0<PeerConnectionFactory, bool> call( |
pc_factory.get(), |
&PeerConnectionFactory::Initialize); |
- bool result = call.Marshal(signaling_thread); |
+ bool result = call.Marshal(FROM_HERE, signaling_thread); |
if (!result) { |
return nullptr; |
@@ -169,8 +169,9 @@ bool PeerConnectionFactory::Initialize() { |
// TODO: Need to make sure only one VoE is created inside |
// WebRtcMediaEngine. |
cricket::MediaEngineInterface* media_engine = |
- worker_thread_->Invoke<cricket::MediaEngineInterface*>(rtc::Bind( |
- &PeerConnectionFactory::CreateMediaEngine_w, this)); |
+ worker_thread_->Invoke<cricket::MediaEngineInterface*>( |
+ FROM_HERE, |
+ rtc::Bind(&PeerConnectionFactory::CreateMediaEngine_w, this)); |
rtc::Thread* const network_thread = worker_thread_; |
channel_manager_.reset(new cricket::ChannelManager( |
@@ -284,8 +285,8 @@ PeerConnectionFactory::CreatePeerConnection( |
default_network_manager_.get(), default_socket_factory_.get())); |
} |
worker_thread_->Invoke<void>( |
- rtc::Bind(&cricket::PortAllocator::SetNetworkIgnoreMask, allocator.get(), |
- options_.network_ignore_mask)); |
+ FROM_HERE, rtc::Bind(&cricket::PortAllocator::SetNetworkIgnoreMask, |
+ allocator.get(), options_.network_ignore_mask)); |
rtc::scoped_refptr<PeerConnection> pc( |
new rtc::RefCountedObject<PeerConnection>(this)); |