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

Unified Diff: media/blink/webaudiosourceprovider_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/watch_time_reporter_unittest.cc ('k') | media/blink/webaudiosourceprovider_impl.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: media/blink/webaudiosourceprovider_impl.h
diff --git a/media/blink/webaudiosourceprovider_impl.h b/media/blink/webaudiosourceprovider_impl.h
index 1bc6c40cd8ec3f49a45e6e7589f1663bdb7a0be8..aa7b9f4e87eab0c2bf9fd4623ef9ef274044ece4 100644
--- a/media/blink/webaudiosourceprovider_impl.h
+++ b/media/blink/webaudiosourceprovider_impl.h
@@ -49,7 +49,7 @@ class MEDIA_BLINK_EXPORT WebAudioSourceProviderImpl
int sample_rate)>;
WebAudioSourceProviderImpl(scoped_refptr<SwitchableAudioRendererSink> sink,
- scoped_refptr<MediaLog> media_log);
+ MediaLog* media_log);
// blink::WebAudioSourceProvider implementation.
void SetClient(blink::WebAudioSourceProviderClient* client) override;
@@ -107,7 +107,7 @@ class MEDIA_BLINK_EXPORT WebAudioSourceProviderImpl
class TeeFilter;
const std::unique_ptr<TeeFilter> tee_filter_;
- const scoped_refptr<MediaLog> media_log_;
+ MediaLog* const media_log_;
// NOTE: Weak pointers must be invalidated before all other member variables.
base::WeakPtrFactory<WebAudioSourceProviderImpl> weak_factory_;
« no previous file with comments | « media/blink/watch_time_reporter_unittest.cc ('k') | media/blink/webaudiosourceprovider_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698