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

Unified Diff: media/base/pipeline_impl.cc

Issue 2713993003: Revert of build: Enable auto raw pointer deduction check on linux. (Closed)
Patch Set: 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/base/media_resource.cc ('k') | media/filters/chunk_demuxer_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: media/base/pipeline_impl.cc
diff --git a/media/base/pipeline_impl.cc b/media/base/pipeline_impl.cc
index e7d9a6ef25b9a2fca4afdabd6bd38320cf27dc78..b3ad8f4bf4f03ab4f65c7dc28f858335e0811bdb 100644
--- a/media/base/pipeline_impl.cc
+++ b/media/base/pipeline_impl.cc
@@ -916,7 +916,7 @@
metadata.timeline_offset = demuxer_->GetTimelineOffset();
// TODO(servolk): What should we do about metadata for multiple streams?
streams = demuxer_->GetAllStreams();
- for (auto* stream : streams) {
+ for (const auto& stream : streams) {
if (stream->type() == DemuxerStream::VIDEO && !metadata.has_video) {
metadata.has_video = true;
metadata.natural_size = GetRotatedVideoSize(
« no previous file with comments | « media/base/media_resource.cc ('k') | media/filters/chunk_demuxer_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698