summaryrefslogtreecommitdiffstats
path: root/webkit/compositor_bindings/WebAnimationImpl.h
diff options
context:
space:
mode:
Diffstat (limited to 'webkit/compositor_bindings/WebAnimationImpl.h')
-rw-r--r--webkit/compositor_bindings/WebAnimationImpl.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/webkit/compositor_bindings/WebAnimationImpl.h b/webkit/compositor_bindings/WebAnimationImpl.h
index a4abfc9..d15eeb3 100644
--- a/webkit/compositor_bindings/WebAnimationImpl.h
+++ b/webkit/compositor_bindings/WebAnimationImpl.h
@@ -5,6 +5,7 @@
#ifndef WebAnimationImpl_h
#define WebAnimationImpl_h
+#include "base/memory/scoped_ptr.h"
#include <public/WebAnimation.h>
#include <wtf/OwnPtr.h>
#include <wtf/PassOwnPtr.h>
@@ -32,9 +33,10 @@ public:
virtual bool alternatesDirection() const OVERRIDE;
virtual void setAlternatesDirection(bool) OVERRIDE;
- PassOwnPtr<cc::CCActiveAnimation> cloneToCCAnimation();
+ scoped_ptr<cc::CCActiveAnimation> cloneToCCAnimation();
+
private:
- OwnPtr<cc::CCActiveAnimation> m_animation;
+ scoped_ptr<cc::CCActiveAnimation> m_animation;
};
}