Index: webrtc/api/java/jni/peerconnection_jni.cc |
diff --git a/webrtc/api/java/jni/peerconnection_jni.cc b/webrtc/api/java/jni/peerconnection_jni.cc |
index 0dc9b5e316540929c0c3b49eb8ae3fef7a332dc0..a5ba254c32461222cd9d5e35508943c16dbee40d 100644 |
--- a/webrtc/api/java/jni/peerconnection_jni.cc |
+++ b/webrtc/api/java/jni/peerconnection_jni.cc |
@@ -1119,9 +1119,12 @@ void OwnedFactoryAndThreads::JavaCallbackOnFactoryThreads() { |
void OwnedFactoryAndThreads::InvokeJavaCallbacksOnFactoryThreads() { |
LOG(LS_INFO) << "InvokeJavaCallbacksOnFactoryThreads."; |
- network_thread_->Invoke<void>([this] { JavaCallbackOnFactoryThreads(); }); |
- worker_thread_->Invoke<void>([this] { JavaCallbackOnFactoryThreads(); }); |
- signaling_thread_->Invoke<void>([this] { JavaCallbackOnFactoryThreads(); }); |
+ network_thread_->Invoke<void>(RTC_FROM_HERE, |
+ [this] { JavaCallbackOnFactoryThreads(); }); |
+ worker_thread_->Invoke<void>(RTC_FROM_HERE, |
+ [this] { JavaCallbackOnFactoryThreads(); }); |
+ signaling_thread_->Invoke<void>(RTC_FROM_HERE, |
+ [this] { JavaCallbackOnFactoryThreads(); }); |
} |
PeerConnectionFactoryInterface::Options ParseOptionsFromJava(JNIEnv* jni, |