Index: Source/platform/scroll/ScrollAnimator.h |
diff --git a/Source/platform/scroll/ScrollAnimator.h b/Source/platform/scroll/ScrollAnimator.h |
index dd8c77d121a91131f92c59f8b792f1381874d631..2242772e1c8d7d1bfa4ce4de566a4c4e59ca6676 100644 |
--- a/Source/platform/scroll/ScrollAnimator.h |
+++ b/Source/platform/scroll/ScrollAnimator.h |
@@ -35,9 +35,8 @@ |
#include "platform/PlatformWheelEvent.h" |
#include "platform/geometry/FloatSize.h" |
#include "platform/scroll/ScrollTypes.h" |
-#include "wtf/FastAllocBase.h" |
#include "wtf/Forward.h" |
-#include "wtf/Noncopyable.h" |
+#include "wtf/RefCounted.h" |
namespace blink { |
@@ -45,10 +44,9 @@ class FloatPoint; |
class ScrollableArea; |
class Scrollbar; |
-class PLATFORM_EXPORT ScrollAnimator { |
- WTF_MAKE_FAST_ALLOCATED; WTF_MAKE_NONCOPYABLE(ScrollAnimator); |
+class PLATFORM_EXPORT ScrollAnimator : public RefCounted<ScrollAnimator> { |
public: |
- static PassOwnPtr<ScrollAnimator> create(ScrollableArea*); |
+ static PassRefPtr<ScrollAnimator> create(ScrollableArea*); |
virtual ~ScrollAnimator(); |