Index: webrtc/api/mediacontroller.cc |
diff --git a/webrtc/api/mediacontroller.cc b/webrtc/api/mediacontroller.cc |
index 2e4501b3f1bcdd3b2fd2f0c01429ede82c813e13..e688e39ea8bfac61629d5f26ad5a3ef9706fa32f 100644 |
--- a/webrtc/api/mediacontroller.cc |
+++ b/webrtc/api/mediacontroller.cc |
@@ -35,9 +35,9 @@ class MediaController : public webrtc::MediaControllerInterface, |
media_config_(media_config), |
channel_manager_(channel_manager) { |
RTC_DCHECK(worker_thread); |
- worker_thread_->Invoke<void>( |
- rtc::Bind(&MediaController::Construct_w, this, |
- channel_manager_->media_engine())); |
+ worker_thread_->Invoke<void>(RTC_FROM_HERE, |
+ rtc::Bind(&MediaController::Construct_w, this, |
+ channel_manager_->media_engine())); |
} |
~MediaController() override { |
Close(); |
@@ -45,7 +45,8 @@ class MediaController : public webrtc::MediaControllerInterface, |
// webrtc::MediaControllerInterface implementation. |
void Close() override { |
- worker_thread_->Invoke<void>(rtc::Bind(&MediaController::Close_w, this)); |
+ worker_thread_->Invoke<void>(RTC_FROM_HERE, |
+ rtc::Bind(&MediaController::Close_w, this)); |
} |
webrtc::Call* call_w() override { |
RTC_DCHECK(worker_thread_->IsCurrent()); |