summaryrefslogtreecommitdiffstats
path: root/Source/WebCore/platform/graphics/GraphicsLayerClient.h
diff options
context:
space:
mode:
Diffstat (limited to 'Source/WebCore/platform/graphics/GraphicsLayerClient.h')
-rw-r--r--Source/WebCore/platform/graphics/GraphicsLayerClient.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/Source/WebCore/platform/graphics/GraphicsLayerClient.h b/Source/WebCore/platform/graphics/GraphicsLayerClient.h
index afb297d..aab176b 100644
--- a/Source/WebCore/platform/graphics/GraphicsLayerClient.h
+++ b/Source/WebCore/platform/graphics/GraphicsLayerClient.h
@@ -32,6 +32,9 @@ namespace WebCore {
class GraphicsContext;
class GraphicsLayer;
+#if PLATFORM(ANDROID)
+class RenderLayer;
+#endif
class IntPoint;
class IntRect;
class FloatPoint;
@@ -54,6 +57,10 @@ class GraphicsLayerClient {
public:
virtual ~GraphicsLayerClient() {}
+#if PLATFORM(ANDROID)
+ virtual RenderLayer* owningLayer() const { return 0; }
+#endif
+
// Callback for when hardware-accelerated animation started.
virtual void notifyAnimationStarted(const GraphicsLayer*, double time) = 0;