Index: Source/platform/graphics/GraphicsLayer.h |
diff --git a/Source/platform/graphics/GraphicsLayer.h b/Source/platform/graphics/GraphicsLayer.h |
index cdd4b3cbda38218fd71db0a64cd6cf7b3a6116a9..8e1a07b0b7bb74427f3c3e13c95f2b29ae6bae27 100644 |
--- a/Source/platform/graphics/GraphicsLayer.h |
+++ b/Source/platform/graphics/GraphicsLayer.h |
@@ -82,7 +82,7 @@ typedef Vector<GraphicsLayer*, 64> GraphicsLayerVector; |
// GraphicsLayer is an abstraction for a rendering surface with backing store, |
// which may have associated transformation and animations. |
-class PLATFORM_EXPORT GraphicsLayer : public GraphicsContextPainter, public WebCompositorAnimationDelegate, public WebLayerScrollClient, public WebLayerClient { |
+class PLATFORM_EXPORT GraphicsLayer : public GraphicsContextPainter, public WebLayerScrollClient, public WebLayerClient { |
WTF_MAKE_NONCOPYABLE(GraphicsLayer); WTF_MAKE_FAST_ALLOCATED(GraphicsLayer); |
public: |
static PassOwnPtr<GraphicsLayer> create(GraphicsLayerFactory*, GraphicsLayerClient*); |
@@ -204,13 +204,6 @@ public: |
// Set that the position/size of the contents (image or video). |
void setContentsRect(const IntRect&); |
- // Return true if the animation is handled by the compositing system. If this returns |
- // false, the animation will be run by AnimationController. |
- // These methods handle both transitions and keyframe animations. |
- bool addAnimation(PassOwnPtr<WebCompositorAnimation>); |
- void pauseAnimation(int animationId, double /*timeOffset*/); |
- void removeAnimation(int animationId); |
- |
// Layer contents |
void setContentsToImage(Image*); |
void setContentsToNinePatch(Image*, const IntRect& aperture); |
@@ -251,10 +244,6 @@ public: |
// GraphicsContextPainter implementation. |
virtual void paint(GraphicsContext&, const IntRect& clip) override; |
- // WebCompositorAnimationDelegate implementation. |
- virtual void notifyAnimationStarted(double monotonicTime, int group) override; |
- virtual void notifyAnimationFinished(double monotonicTime, int group) override; |
- |
// WebLayerScrollClient implementation. |
virtual void didScroll() override; |