Index: webrtc/modules/audio_device/ios/audio_device_ios.mm |
diff --git a/webrtc/modules/audio_device/ios/audio_device_ios.mm b/webrtc/modules/audio_device/ios/audio_device_ios.mm |
index 8f6fb4d9b635f480fb699a17a6529950146cf555..e564540595537a79126a865e29682d2d1f4161b5 100644 |
--- a/webrtc/modules/audio_device/ios/audio_device_ios.mm |
+++ b/webrtc/modules/audio_device/ios/audio_device_ios.mm |
@@ -336,22 +336,22 @@ int AudioDeviceIOS::GetRecordAudioParameters(AudioParameters* params) const { |
void AudioDeviceIOS::OnInterruptionBegin() { |
RTC_DCHECK(thread_); |
- thread_->Post(this, kMessageTypeInterruptionBegin); |
+ thread_->Post(RTC_FROM_HERE, this, kMessageTypeInterruptionBegin); |
} |
void AudioDeviceIOS::OnInterruptionEnd() { |
RTC_DCHECK(thread_); |
- thread_->Post(this, kMessageTypeInterruptionEnd); |
+ thread_->Post(RTC_FROM_HERE, this, kMessageTypeInterruptionEnd); |
} |
void AudioDeviceIOS::OnValidRouteChange() { |
RTC_DCHECK(thread_); |
- thread_->Post(this, kMessageTypeValidRouteChange); |
+ thread_->Post(RTC_FROM_HERE, this, kMessageTypeValidRouteChange); |
} |
void AudioDeviceIOS::OnCanPlayOrRecordChange(bool can_play_or_record) { |
RTC_DCHECK(thread_); |
- thread_->Post(this, kMessageTypeCanPlayOrRecordChange, |
+ thread_->Post(RTC_FROM_HERE, this, kMessageTypeCanPlayOrRecordChange, |
new rtc::TypedMessageData<bool>(can_play_or_record)); |
} |