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

Unified Diff: media/base/media_resource.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/demuxer_perftest.cc ('k') | media/base/pipeline_impl.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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;
}
« no previous file with comments | « media/base/demuxer_perftest.cc ('k') | media/base/pipeline_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698