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

Unified Diff: media/blink/webencryptedmediaclient_impl.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/blink/webaudiosourceprovider_impl_unittest.cc ('k') | media/blink/webencryptedmediaclient_impl.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: media/blink/webencryptedmediaclient_impl.h
diff --git a/media/blink/webencryptedmediaclient_impl.h b/media/blink/webencryptedmediaclient_impl.h
index 6f792b629e06c4586b7b01ebc094c3c13d6b973d..68dbb32e38574dea692c996ff6b0eec521be1d82 100644
--- a/media/blink/webencryptedmediaclient_impl.h
+++ b/media/blink/webencryptedmediaclient_impl.h
@@ -38,7 +38,7 @@ class MEDIA_BLINK_EXPORT WebEncryptedMediaClientImpl
base::Callback<bool(void)> are_secure_codecs_supported_cb,
CdmFactory* cdm_factory,
MediaPermission* media_permission,
- const scoped_refptr<MediaLog>& media_log);
+ MediaLog* media_log);
~WebEncryptedMediaClientImpl() override;
// WebEncryptedMediaClient implementation.
@@ -81,7 +81,7 @@ class MEDIA_BLINK_EXPORT WebEncryptedMediaClientImpl
base::Callback<bool(void)> are_secure_codecs_supported_cb_;
CdmFactory* cdm_factory_;
KeySystemConfigSelector key_system_config_selector_;
- scoped_refptr<MediaLog> media_log_;
+ MediaLog* media_log_;
base::WeakPtrFactory<WebEncryptedMediaClientImpl> weak_factory_;
};
« no previous file with comments | « media/blink/webaudiosourceprovider_impl_unittest.cc ('k') | media/blink/webencryptedmediaclient_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698