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

Unified Diff: media/filters/audio_timestamp_validator.h

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_decoder_unittest.cc ('k') | media/filters/audio_timestamp_validator.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: media/filters/audio_timestamp_validator.h
diff --git a/media/filters/audio_timestamp_validator.h b/media/filters/audio_timestamp_validator.h
index ba4c1bab5a9aa8c5d803a7b5828a5b7983b9e664..0b73f3f52673e363af3941641d5de60732a5dace 100644
--- a/media/filters/audio_timestamp_validator.h
+++ b/media/filters/audio_timestamp_validator.h
@@ -19,7 +19,7 @@ namespace media {
class MEDIA_EXPORT AudioTimestampValidator {
public:
AudioTimestampValidator(const AudioDecoderConfig& decoder_config,
- const scoped_refptr<MediaLog>& media_log);
+ MediaLog* media_log);
~AudioTimestampValidator();
// These methods monitor DecoderBuffer timestamps for gaps for the purpose of
@@ -31,7 +31,7 @@ class MEDIA_EXPORT AudioTimestampValidator {
private:
bool has_codec_delay_;
- scoped_refptr<MediaLog> media_log_;
+ MediaLog* media_log_;
// Accumulates time from decoded audio frames. We adjust the base timestamp as
// needed for the first few buffers (stabilization period) of decoded output
« no previous file with comments | « media/filters/audio_decoder_unittest.cc ('k') | media/filters/audio_timestamp_validator.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698