Index: Source/platform/scroll/ScrollAnimator.h |
diff --git a/Source/platform/scroll/ScrollAnimator.h b/Source/platform/scroll/ScrollAnimator.h |
index be6d8bd21caf9498715c1987b984a76ab3e71a39..ca2e2addda48516b9861a1719fe7695afc1f327f 100644 |
--- a/Source/platform/scroll/ScrollAnimator.h |
+++ b/Source/platform/scroll/ScrollAnimator.h |
@@ -36,7 +36,6 @@ |
#include "platform/geometry/FloatSize.h" |
#include "platform/scroll/ScrollTypes.h" |
#include "wtf/Forward.h" |
-#include "wtf/RefCounted.h" |
namespace blink { |
@@ -44,9 +43,9 @@ class FloatPoint; |
class ScrollableArea; |
class Scrollbar; |
-class PLATFORM_EXPORT ScrollAnimator : public RefCounted<ScrollAnimator> { |
+class PLATFORM_EXPORT ScrollAnimator { |
public: |
- static PassRefPtr<ScrollAnimator> create(ScrollableArea*); |
+ static PassOwnPtr<ScrollAnimator> create(ScrollableArea*); |
virtual ~ScrollAnimator(); |