| 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() {
|
|
|