Index: content/renderer/media/webrtc_audio_device_impl.cc |
diff --git a/content/renderer/media/webrtc_audio_device_impl.cc b/content/renderer/media/webrtc_audio_device_impl.cc |
index 2cb2eacbb32a05ab72d41ad2701915a1272ae3f7..3a27a7d496eac901e0fd63d7cf5c0fb40fc3fa63 100644 |
--- a/content/renderer/media/webrtc_audio_device_impl.cc |
+++ b/content/renderer/media/webrtc_audio_device_impl.cc |
@@ -68,7 +68,7 @@ void WebRtcAudioDeviceImpl::RenderData(media::AudioBus* audio_bus, |
#if DCHECK_IS_ON() |
DCHECK(renderer_->CurrentThreadIsRenderingThread()); |
if (!audio_renderer_thread_checker_.CalledOnValidThread()) { |
- for (const auto& sink : playout_sinks_) |
+ for (auto* sink : playout_sinks_) |
sink->OnRenderThreadChanged(); |
} |
#endif |
@@ -134,7 +134,7 @@ void WebRtcAudioDeviceImpl::AudioRendererThreadStopped() { |
// Notify the playout sink of the change. |
// Not holding |lock_| because the caller must guarantee that the audio |
// renderer thread is dead, so no race is possible with |playout_sinks_| |
- for (const auto& sink : playout_sinks_) |
+ for (auto* sink : playout_sinks_) |
sink->OnPlayoutDataSourceChanged(); |
} |