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

Unified Diff: content/renderer/media/android/webmediaplayer_android.h

Issue 496103002: Fix the ownership of media_log_ in WebMediaPlayerAndroid (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: addressing acolwell's comments Created 6 years, 4 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 | « no previous file | content/renderer/media/android/webmediaplayer_android.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/renderer/media/android/webmediaplayer_android.h
diff --git a/content/renderer/media/android/webmediaplayer_android.h b/content/renderer/media/android/webmediaplayer_android.h
index 3e8530f083b67533f4d265a224081bc65adac1e4..1fd84b95ba72570897f0b9857d9ca50a105fdace 100644
--- a/content/renderer/media/android/webmediaplayer_android.h
+++ b/content/renderer/media/android/webmediaplayer_android.h
@@ -451,7 +451,7 @@ class WebMediaPlayerAndroid : public blink::WebMediaPlayer,
// Whether the browser is currently connected to a remote media player.
bool is_remote_;
- media::MediaLog* media_log_;
+ scoped_refptr<media::MediaLog> media_log_;
xhwang 2014/08/21 22:40:28 Since now WMPA partially owns media_log_, does it
qinmin 2014/08/22 01:03:59 Currently, we pass a raw pointer to media_source_d
scoped_ptr<MediaInfoLoader> info_loader_;
« no previous file with comments | « no previous file | content/renderer/media/android/webmediaplayer_android.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698