diff options
Diffstat (limited to 'WebCore/platform/animation/Animation.h')
-rw-r--r-- | WebCore/platform/animation/Animation.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/WebCore/platform/animation/Animation.h b/WebCore/platform/animation/Animation.h index a629f43..cabb0eb 100644 --- a/WebCore/platform/animation/Animation.h +++ b/WebCore/platform/animation/Animation.h @@ -39,7 +39,8 @@ class Animation : public RefCounted<Animation> { public: ~Animation(); - static PassRefPtr<Animation> create() { return adoptRef(new Animation); }; + static PassRefPtr<Animation> create() { return adoptRef(new Animation); } + static PassRefPtr<Animation> create(const Animation* o) { return adoptRef(new Animation(*o)); } bool isDelaySet() const { return m_delaySet; } bool isDirectionSet() const { return m_directionSet; } |