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

Unified Diff: webrtc/api/dtmfsender.cc

Issue 2019423006: Adding more detail to MessageQueue::Dispatch logging. (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: Fixing one more place where RTC_FROM_HERE wasn't used. Created 4 years, 6 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
« no previous file with comments | « webrtc/api/datachannel.cc ('k') | webrtc/api/java/jni/androidmediadecoder_jni.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webrtc/api/dtmfsender.cc
diff --git a/webrtc/api/dtmfsender.cc b/webrtc/api/dtmfsender.cc
index 78a73c4b3769777aa22716b382522984b463782b..bd4340e7a189d167dadb6bd0a793e1f7e8e2d7fa 100644
--- a/webrtc/api/dtmfsender.cc
+++ b/webrtc/api/dtmfsender.cc
@@ -137,7 +137,7 @@ bool DtmfSender::InsertDtmf(const std::string& tones, int duration,
// Clear the previous queue.
signaling_thread_->Clear(this, MSG_DO_INSERT_DTMF);
// Kick off a new DTMF task queue.
- signaling_thread_->Post(this, MSG_DO_INSERT_DTMF);
+ signaling_thread_->Post(RTC_FROM_HERE, this, MSG_DO_INSERT_DTMF);
return true;
}
@@ -222,7 +222,8 @@ void DtmfSender::DoInsertDtmf() {
tones_.erase(0, first_tone_pos + 1);
// Continue with the next tone.
- signaling_thread_->PostDelayed(tone_gap, this, MSG_DO_INSERT_DTMF);
+ signaling_thread_->PostDelayed(RTC_FROM_HERE, tone_gap, this,
+ MSG_DO_INSERT_DTMF);
}
void DtmfSender::OnProviderDestroyed() {
« no previous file with comments | « webrtc/api/datachannel.cc ('k') | webrtc/api/java/jni/androidmediadecoder_jni.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698