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

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: c301e01d Rebase. Created 6 years, 12 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
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 40582ca1c8adad1304251699ae2702d4ca3b85a9..56c4a0988866e53b4c5cf3243b3d9f739ba952ad 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.
@@ -261,7 +261,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