| Index: Source/platform/graphics/GraphicsLayer.cpp
|
| diff --git a/Source/platform/graphics/GraphicsLayer.cpp b/Source/platform/graphics/GraphicsLayer.cpp
|
| index b145219e0cea5821730b54e02c5d13fa9d5d62fa..f8d50fd05c35547b057f2737b95954c4f6bcea34 100644
|
| --- a/Source/platform/graphics/GraphicsLayer.cpp
|
| +++ b/Source/platform/graphics/GraphicsLayer.cpp
|
| @@ -48,6 +48,7 @@
|
| #include "public/platform/WebLayer.h"
|
| #include "public/platform/WebPoint.h"
|
| #include "public/platform/WebSize.h"
|
| +#include "public/platform/WebString.h"
|
| #include "wtf/CurrentTime.h"
|
| #include "wtf/HashMap.h"
|
| #include "wtf/HashSet.h"
|
| @@ -964,6 +965,16 @@ void GraphicsLayer::setContentsToNinePatch(Image* image, const IntRect& aperture
|
| setContentsTo(m_ninePatchLayer ? m_ninePatchLayer->layer() : 0);
|
| }
|
|
|
| +void GraphicsLayer::addAnimatedProperty(const String& propertyName)
|
| +{
|
| + platformLayer()->addAnimatedProperty(WebString(propertyName));
|
| +}
|
| +
|
| +void GraphicsLayer::clearAnimatedProperties()
|
| +{
|
| + platformLayer()->clearAnimatedProperties();
|
| +}
|
| +
|
| bool GraphicsLayer::addAnimation(PassOwnPtr<WebCompositorAnimation> popAnimation)
|
| {
|
| OwnPtr<WebCompositorAnimation> animation(popAnimation);
|
|
|