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

Unified Diff: media/formats/webm/webm_audio_client.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/webm/webm_audio_client.h
diff --git a/media/formats/webm/webm_audio_client.h b/media/formats/webm/webm_audio_client.h
index 06d7e0c6caa769e0be31de065069902eee310518..5b3357da1c5ebde80dd671730e3689d48637562e 100644
--- a/media/formats/webm/webm_audio_client.h
+++ b/media/formats/webm/webm_audio_client.h
@@ -21,7 +21,7 @@ class EncryptionScheme;
// Helper class used to parse an Audio element inside a TrackEntry element.
class WebMAudioClient : public WebMParserClient {
public:
- explicit WebMAudioClient(const scoped_refptr<MediaLog>& media_log);
+ explicit WebMAudioClient(MediaLog* media_log);
~WebMAudioClient() override;
// Reset this object's state so it can process a new audio track element.
@@ -45,7 +45,7 @@ class WebMAudioClient : public WebMParserClient {
bool OnUInt(int id, int64_t val) override;
bool OnFloat(int id, double val) override;
- scoped_refptr<MediaLog> media_log_;
+ MediaLog* media_log_;
int channels_;
double samples_per_second_;
double output_samples_per_second_;

Powered by Google App Engine
This is Rietveld 408576698