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

Unified Diff: media/filters/chunk_demuxer.cc

Issue 2691393002: Fix auto raw pointer deduction on linux (Closed)
Patch Set: update 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
Index: media/filters/chunk_demuxer.cc
diff --git a/media/filters/chunk_demuxer.cc b/media/filters/chunk_demuxer.cc
index 1302aa531a87e405aafd14d75a96ae3bf1001e48..a55f8e7c351cd792cccf4fb40fb03b4920c8caa8 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);
}

Powered by Google App Engine
This is Rietveld 408576698