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

Unified Diff: media/filters/chunk_demuxer.cc

Issue 2691393002: Fix auto raw pointer deduction on linux (Closed)
Patch Set: rebase Created 3 years, 10 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 | « media/capture/video/fake_video_capture_device_unittest.cc ('k') | media/filters/ffmpeg_demuxer.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: media/filters/chunk_demuxer.cc
diff --git a/media/filters/chunk_demuxer.cc b/media/filters/chunk_demuxer.cc
index 177a819452a5eb7ea01e1adc4c99517335291572..db3fdd0b4b2177407baa46b68f3f6dae5b296b65 100644
--- a/media/filters/chunk_demuxer.cc
+++ b/media/filters/chunk_demuxer.cc
@@ -711,7 +711,7 @@ void ChunkDemuxer::OnEnabledAudioTracksChanged(
stream->set_enabled(false, currTime);
}
}
- for (const auto& stream : enabled_streams) {
+ for (auto* stream : enabled_streams) {
DVLOG(1) << __func__ << ": enabling stream " << stream;
stream->set_enabled(true, currTime);
}
« no previous file with comments | « media/capture/video/fake_video_capture_device_unittest.cc ('k') | media/filters/ffmpeg_demuxer.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698