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

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

Issue 105743004: Add gpu::MailboxHolder to hold state for a gpu::Mailbox (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: cc2a95fe Android fixes. Created 7 years 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: 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 fd6555e22729bda9f7595ff48f480101853e7d20..9fefb6b2b846959a582e9cb4eb5f15282ccf0c65 100644
--- a/content/renderer/media/android/webmediaplayer_android.h
+++ b/content/renderer/media/android/webmediaplayer_android.h
@@ -236,7 +236,7 @@ class WebMediaPlayerAndroid
static void OnReleaseRemotePlaybackTexture(
const scoped_refptr<base::MessageLoopProxy>& main_loop,
const base::WeakPtr<WebMediaPlayerAndroid>& player,
- uint32 sync_point);
+ scoped_ptr<gpu::MailboxHolder> mailbox_holder);
protected:
// Helper method to update the playing state.
@@ -266,7 +266,8 @@ class WebMediaPlayerAndroid
void ReallocateVideoFrame();
void SetCurrentFrameInternal(scoped_refptr<media::VideoFrame>& frame);
void DidLoadMediaInfo(MediaInfoLoader::Status status);
- void DoReleaseRemotePlaybackTexture(uint32 sync_point);
+ void DoReleaseRemotePlaybackTexture(
+ scoped_ptr<gpu::MailboxHolder> mailbox_holder);
bool IsKeySystemSupported(const blink::WebString& key_system);

Powered by Google App Engine
This is Rietveld 408576698