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

Unified Diff: media/filters/audio_timestamp_validator.cc

Issue 2815303006: Convert MediaLog from being ref counted to owned by WebMediaPlayer. (Closed)
Patch Set: Rebase. 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
« no previous file with comments | « media/filters/audio_timestamp_validator.h ('k') | media/filters/audio_timestamp_validator_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: media/filters/audio_timestamp_validator.cc
diff --git a/media/filters/audio_timestamp_validator.cc b/media/filters/audio_timestamp_validator.cc
index 1507efaef515036cdac05e0f5404ea1098288127..0bc40bc10184840a6821d87b782235701180cba1 100644
--- a/media/filters/audio_timestamp_validator.cc
+++ b/media/filters/audio_timestamp_validator.cc
@@ -25,7 +25,7 @@ const int kStableTimeGapThrsholdMsec = 1;
AudioTimestampValidator::AudioTimestampValidator(
const AudioDecoderConfig& decoder_config,
- const scoped_refptr<MediaLog>& media_log)
+ MediaLog* media_log)
: has_codec_delay_(decoder_config.codec_delay() > 0),
media_log_(media_log),
audio_base_ts_(kNoTimestamp),
« no previous file with comments | « media/filters/audio_timestamp_validator.h ('k') | media/filters/audio_timestamp_validator_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698