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

Unified Diff: media/formats/mpeg/mpeg1_audio_stream_parser.h

Issue 2815303006: Convert MediaLog from being ref counted to owned by WebMediaPlayer. (Closed)
Patch Set: Actually fix fuzzers. Created 3 years, 8 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/formats/mpeg/mpeg1_audio_stream_parser.h
diff --git a/media/formats/mpeg/mpeg1_audio_stream_parser.h b/media/formats/mpeg/mpeg1_audio_stream_parser.h
index fc0ce35dac9fe80827cae66c93be7b3db6e66dfb..f162bd105556fa74f7c3d848d20cd80642da1f61 100644
--- a/media/formats/mpeg/mpeg1_audio_stream_parser.h
+++ b/media/formats/mpeg/mpeg1_audio_stream_parser.h
@@ -64,7 +64,7 @@ class MEDIA_EXPORT MPEG1AudioStreamParser : public MPEGAudioStreamParserBase {
// Parses the header starting at |data|.
// Assumption: size of array |data| should be at least |kHeaderSize|.
// Returns false if the header is not valid.
- static bool ParseHeader(const scoped_refptr<MediaLog>& media_log,
+ static bool ParseHeader(MediaLog* media_log,
const uint8_t* data,
Header* header);

Powered by Google App Engine
This is Rietveld 408576698