Index: content/renderer/media/webrtc_audio_capturer.cc |
diff --git a/content/renderer/media/webrtc_audio_capturer.cc b/content/renderer/media/webrtc_audio_capturer.cc |
index 48b9e3b83cb49df3c027a8220eb2fe0ab27a3a96..5640848cf0dcf4e85ae18cb590bd184005ca7c6e 100644 |
--- a/content/renderer/media/webrtc_audio_capturer.cc |
+++ b/content/renderer/media/webrtc_audio_capturer.cc |
@@ -55,10 +55,10 @@ class WebRtcAudioCapturer::TrackOwner |
} |
} |
- void SetCaptureFormat(const media::AudioParameters& params) { |
+ void OnSetFormat(const media::AudioParameters& params) { |
base::AutoLock lock(lock_); |
if (delegate_) |
- delegate_->SetCaptureFormat(params); |
+ delegate_->OnSetFormat(params); |
} |
void Reset() { |
@@ -223,7 +223,7 @@ void WebRtcAudioCapturer::AddTrack(WebRtcLocalAudioTrack* track) { |
tracks_.push_back(track_owner); |
// Also push the track to |tracks_to_notify_format_| so that we will call |
- // SetCaptureFormat() on the new track. |
+ // OnSetFormat() on the new track. |
tracks_to_notify_format_.push_back(track_owner); |
} |
@@ -435,7 +435,7 @@ void WebRtcAudioCapturer::Capture(media::AudioBus* audio_source, |
// |tracks_to_notify_format| is empty. |
for (TrackList::const_iterator it = tracks_to_notify_format.begin(); |
it != tracks_to_notify_format.end(); ++it) { |
- (*it)->SetCaptureFormat(params); |
+ (*it)->OnSetFormat(params); |
} |
// Feed the data to the tracks. |