Index: media/base/media_resource.cc |
diff --git a/media/base/media_resource.cc b/media/base/media_resource.cc |
index 8068a1905d89f65bc9b673dd2c5106fc6ca7f545..07431e6aaef0668e55668938abb783f770518732 100644 |
--- a/media/base/media_resource.cc |
+++ b/media/base/media_resource.cc |
@@ -21,7 +21,7 @@ |
DemuxerStream* MediaResource::GetFirstStream(DemuxerStream::Type type) { |
const auto& streams = GetAllStreams(); |
- for (auto* stream : streams) { |
+ for (const auto& stream : streams) { |
if (stream->type() == type) |
return stream; |
} |