Index: webrtc/pc/mediamonitor.cc |
diff --git a/webrtc/pc/mediamonitor.cc b/webrtc/pc/mediamonitor.cc |
index 066094d159f0867fab680587cbe1531c27171e72..5ed68fa085e2f40e22b21206c5343388dc79fb58 100644 |
--- a/webrtc/pc/mediamonitor.cc |
+++ b/webrtc/pc/mediamonitor.cc |
@@ -37,11 +37,11 @@ void MediaMonitor::Start(uint32_t milliseconds) { |
rate_ = milliseconds; |
if (rate_ < 100) |
rate_ = 100; |
- worker_thread_->Post(this, MSG_MONITOR_START); |
+ worker_thread_->Post(RTC_FROM_HERE, this, MSG_MONITOR_START); |
} |
void MediaMonitor::Stop() { |
- worker_thread_->Post(this, MSG_MONITOR_STOP); |
+ worker_thread_->Post(RTC_FROM_HERE, this, MSG_MONITOR_STOP); |
rate_ = 0; |
} |
@@ -84,8 +84,8 @@ void MediaMonitor::PollMediaChannel() { |
GetStats(); |
// Signal the monitoring thread, start another poll timer |
- monitor_thread_->Post(this, MSG_MONITOR_SIGNAL); |
- worker_thread_->PostDelayed(rate_, this, MSG_MONITOR_POLL); |
+ monitor_thread_->Post(RTC_FROM_HERE, this, MSG_MONITOR_SIGNAL); |
+ worker_thread_->PostDelayed(RTC_FROM_HERE, rate_, this, MSG_MONITOR_POLL); |
} |
} // namespace cricket |