Index: Source/platform/graphics/GraphicsLayer.cpp |
diff --git a/Source/platform/graphics/GraphicsLayer.cpp b/Source/platform/graphics/GraphicsLayer.cpp |
index 940839557fb9c270d99e6b0d1d20a4cdb23d31ef..efc69aaf9c58287e3972a3dfcaba689030e47b66 100644 |
--- a/Source/platform/graphics/GraphicsLayer.cpp |
+++ b/Source/platform/graphics/GraphicsLayer.cpp |
@@ -1049,27 +1049,6 @@ void GraphicsLayer::setContentsToNinePatch(Image* image, const IntRect& aperture |
setContentsTo(m_ninePatchLayer ? m_ninePatchLayer->layer() : 0); |
} |
-bool GraphicsLayer::addAnimation(PassOwnPtr<WebCompositorAnimation> popAnimation) |
-{ |
- OwnPtr<WebCompositorAnimation> animation(popAnimation); |
- ASSERT(animation); |
- platformLayer()->setAnimationDelegate(this); |
- |
- // Remove any existing animations with the same animation id and target property. |
- platformLayer()->removeAnimation(animation->id(), animation->targetProperty()); |
- return platformLayer()->addAnimation(animation.leakPtr()); |
-} |
- |
-void GraphicsLayer::pauseAnimation(int animationId, double timeOffset) |
-{ |
- platformLayer()->pauseAnimation(animationId, timeOffset); |
-} |
- |
-void GraphicsLayer::removeAnimation(int animationId) |
-{ |
- platformLayer()->removeAnimation(animationId); |
-} |
- |
WebLayer* GraphicsLayer::platformLayer() const |
{ |
return m_layer->layer(); |
@@ -1134,18 +1113,6 @@ void GraphicsLayer::paint(GraphicsContext& context, const IntRect& clip) |
} |
-void GraphicsLayer::notifyAnimationStarted(double monotonicTime, int group) |
-{ |
- if (m_client) |
- m_client->notifyAnimationStarted(this, monotonicTime, group); |
-} |
- |
-void GraphicsLayer::notifyAnimationFinished(double, int group) |
-{ |
- if (m_scrollableArea) |
- m_scrollableArea->notifyCompositorAnimationFinished(group); |
-} |
- |
void GraphicsLayer::didScroll() |
{ |
if (m_scrollableArea) { |