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

Unified Diff: media/formats/webm/webm_video_client.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/formats/webm/webm_tracks_parser_unittest.cc ('k') | media/formats/webm/webm_video_client.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: media/formats/webm/webm_video_client.h
diff --git a/media/formats/webm/webm_video_client.h b/media/formats/webm/webm_video_client.h
index abcd9281bd273e88374e4ad8b410f8c4e50f6c5c..88c97e66454ace85fa55fa47fd6a0629eb13f9c4 100644
--- a/media/formats/webm/webm_video_client.h
+++ b/media/formats/webm/webm_video_client.h
@@ -22,7 +22,7 @@ class VideoDecoderConfig;
// Helper class used to parse a Video element inside a TrackEntry element.
class WebMVideoClient : public WebMParserClient {
public:
- explicit WebMVideoClient(const scoped_refptr<MediaLog>& media_log);
+ explicit WebMVideoClient(MediaLog* media_log);
~WebMVideoClient() override;
// Reset this object's state so it can process a new video track element.
@@ -48,7 +48,7 @@ class WebMVideoClient : public WebMParserClient {
bool OnBinary(int id, const uint8_t* data, int size) override;
bool OnFloat(int id, double val) override;
- scoped_refptr<MediaLog> media_log_;
+ MediaLog* media_log_;
int64_t pixel_width_;
int64_t pixel_height_;
int64_t crop_bottom_;
« no previous file with comments | « media/formats/webm/webm_tracks_parser_unittest.cc ('k') | media/formats/webm/webm_video_client.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698