| Index: public/platform/WebLayer.h
|
| diff --git a/public/platform/WebLayer.h b/public/platform/WebLayer.h
|
| index dd84083d215b141f253b11a6c574622eb7ab8437..848c5bce9215de3d1ac2837328040327134c4b99 100644
|
| --- a/public/platform/WebLayer.h
|
| +++ b/public/platform/WebLayer.h
|
| @@ -30,6 +30,7 @@
|
| #include "WebColor.h"
|
| #include "WebCommon.h"
|
| #include "WebCompositingReasons.h"
|
| +#include "WebPassOwnPtr.h"
|
| #include "WebPoint.h"
|
| #include "WebRect.h"
|
| #include "WebString.h"
|
| @@ -143,7 +144,7 @@ public:
|
| virtual void setAnimationDelegate(WebAnimationDelegate*) = 0;
|
|
|
| // Returns false if the animation cannot be added.
|
| - virtual bool addAnimation(WebAnimation*) = 0;
|
| + virtual bool addAnimation(WebPassOwnPtr<WebAnimation>) = 0;
|
|
|
| // Removes all animations with the given id.
|
| virtual void removeAnimation(int animationId) = 0;
|
|
|