Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(762)

Unified Diff: webrtc/pc/mediamonitor.cc

Issue 2019423006: Adding more detail to MessageQueue::Dispatch logging. (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: Created 4 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: webrtc/pc/mediamonitor.cc
diff --git a/webrtc/pc/mediamonitor.cc b/webrtc/pc/mediamonitor.cc
index 066094d159f0867fab680587cbe1531c27171e72..c3ad5f0763d75edc78609c997e54576f5845281e 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(FROM_HERE, this, MSG_MONITOR_START);
}
void MediaMonitor::Stop() {
- worker_thread_->Post(this, MSG_MONITOR_STOP);
+ worker_thread_->Post(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(FROM_HERE, this, MSG_MONITOR_SIGNAL);
+ worker_thread_->PostDelayed(FROM_HERE, rate_, this, MSG_MONITOR_POLL);
}
} // namespace cricket

Powered by Google App Engine
This is Rietveld 408576698