summaryrefslogtreecommitdiffstats
path: root/WebCore/platform/graphics/MediaPlayerPrivate.h
diff options
context:
space:
mode:
Diffstat (limited to 'WebCore/platform/graphics/MediaPlayerPrivate.h')
-rw-r--r--WebCore/platform/graphics/MediaPlayerPrivate.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/WebCore/platform/graphics/MediaPlayerPrivate.h b/WebCore/platform/graphics/MediaPlayerPrivate.h
index 3b7c4d4..3bb8475 100644
--- a/WebCore/platform/graphics/MediaPlayerPrivate.h
+++ b/WebCore/platform/graphics/MediaPlayerPrivate.h
@@ -45,6 +45,9 @@ public:
virtual void prepareToPlay() { }
virtual PlatformMedia platformMedia() const { return NoPlatformMedia; }
+#if USE(ACCELERATED_COMPOSITING)
+ virtual PlatformLayer* platformLayer() const { return 0; }
+#endif
virtual void play() = 0;
virtual void pause() = 0;