| Index: Source/platform/graphics/GraphicsLayer.cpp
|
| diff --git a/Source/platform/graphics/GraphicsLayer.cpp b/Source/platform/graphics/GraphicsLayer.cpp
|
| index 389f81f173732ceb4a03ea05248461803144f394..c650bea370bc16c1fb6aee9c37fdf88a09220b8a 100644
|
| --- a/Source/platform/graphics/GraphicsLayer.cpp
|
| +++ b/Source/platform/graphics/GraphicsLayer.cpp
|
| @@ -38,7 +38,7 @@
|
| #include "platform/scroll/ScrollableArea.h"
|
| #include "platform/text/TextStream.h"
|
| #include "public/platform/Platform.h"
|
| -#include "public/platform/WebAnimation.h"
|
| +#include "public/platform/WebCompositorAnimation.h"
|
| #include "public/platform/WebCompositorSupport.h"
|
| #include "public/platform/WebFilterOperations.h"
|
| #include "public/platform/WebFloatPoint.h"
|
| @@ -59,7 +59,7 @@
|
| #endif
|
|
|
| using blink::Platform;
|
| -using blink::WebAnimation;
|
| +using blink::WebCompositorAnimation;
|
| using blink::WebFilterOperations;
|
| using blink::WebLayer;
|
| using blink::WebPoint;
|
| @@ -1025,9 +1025,9 @@ void GraphicsLayer::setContentsToNinePatch(Image* image, const IntRect& aperture
|
| setContentsTo(m_ninePatchLayer ? m_ninePatchLayer->layer() : 0);
|
| }
|
|
|
| -bool GraphicsLayer::addAnimation(PassOwnPtr<WebAnimation> popAnimation)
|
| +bool GraphicsLayer::addAnimation(PassOwnPtr<WebCompositorAnimation> popAnimation)
|
| {
|
| - OwnPtr<WebAnimation> animation(popAnimation);
|
| + OwnPtr<WebCompositorAnimation> animation(popAnimation);
|
| ASSERT(animation);
|
| platformLayer()->setAnimationDelegate(this);
|
|
|
| @@ -1107,13 +1107,13 @@ void GraphicsLayer::paint(GraphicsContext& context, const IntRect& clip)
|
| }
|
|
|
|
|
| -void GraphicsLayer::notifyAnimationStarted(double monotonicTime, WebAnimation::TargetProperty)
|
| +void GraphicsLayer::notifyAnimationStarted(double monotonicTime, WebCompositorAnimation::TargetProperty)
|
| {
|
| if (m_client)
|
| m_client->notifyAnimationStarted(this, monotonicTime);
|
| }
|
|
|
| -void GraphicsLayer::notifyAnimationFinished(double, WebAnimation::TargetProperty)
|
| +void GraphicsLayer::notifyAnimationFinished(double, WebCompositorAnimation::TargetProperty)
|
| {
|
| // Do nothing.
|
| }
|
|
|