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

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: bfbc08f8 Android clang fixes. Created 6 years, 11 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 3cdc6ac3e694a0c8dbfabd4074b8a2e4f421f6d8..5e13683e4aae248cb5734bf663af4ac7ef2b5722 100644
--- a/content/renderer/media/android/webmediaplayer_android.h
+++ b/content/renderer/media/android/webmediaplayer_android.h
@@ -31,14 +31,18 @@
#include "third_party/WebKit/public/platform/WebURL.h"
#include "ui/gfx/rect_f.h"
-namespace media {
-class MediaLog;
-}
-
namespace blink {
class WebFrame;
}
+namespace gpu {
+struct MailboxHolder;
+}
+
+namespace media {
+class MediaLog;
+}
+
namespace webkit {
class WebLayerImpl;
}
@@ -223,7 +227,7 @@ class WebMediaPlayerAndroid
static void OnReleaseRemotePlaybackTexture(
const scoped_refptr<base::MessageLoopProxy>& main_loop,
const base::WeakPtr<WebMediaPlayerAndroid>& player,
- uint32 sync_point);
+ const gpu::MailboxHolder* mailbox_holder);
protected:
// Helper method to update the playing state.

Powered by Google App Engine
This is Rietveld 408576698