| Index: third_party/WebKit/Source/platform/scroll/ScrollAnimatorBase.h
|
| diff --git a/third_party/WebKit/Source/platform/scroll/ScrollAnimatorBase.h b/third_party/WebKit/Source/platform/scroll/ScrollAnimatorBase.h
|
| index 0917eeaada4fa4c25e58eccbaba96d9279f78863..e498147a0f49958d32d5314b990b381b3022475c 100644
|
| --- a/third_party/WebKit/Source/platform/scroll/ScrollAnimatorBase.h
|
| +++ b/third_party/WebKit/Source/platform/scroll/ScrollAnimatorBase.h
|
| @@ -44,12 +44,14 @@ class FloatPoint;
|
| class ScrollableArea;
|
| class Scrollbar;
|
|
|
| -class PLATFORM_EXPORT ScrollAnimatorBase {
|
| +class PLATFORM_EXPORT ScrollAnimatorBase : public NoBaseWillBeGarbageCollectedFinalized<ScrollAnimatorBase> {
|
| public:
|
| - static PassOwnPtr<ScrollAnimatorBase> create(ScrollableArea*);
|
| + static PassOwnPtrWillBeRawPtr<ScrollAnimatorBase> create(ScrollableArea*);
|
|
|
| virtual ~ScrollAnimatorBase();
|
|
|
| + virtual void cleanup() { }
|
| +
|
| // Computes a scroll destination for the given parameters. The returned
|
| // ScrollResultOneDimensional will have didScroll set to false if already at
|
| // the destination. Otherwise, starts scrolling towards the destination and
|
| @@ -99,13 +101,15 @@ public:
|
| virtual void notifyContentAreaScrolled(const FloatSize&) { }
|
|
|
| virtual bool setScrollbarsVisibleForTesting(bool) { return false; }
|
| +
|
| + DECLARE_VIRTUAL_TRACE();
|
| +
|
| protected:
|
| explicit ScrollAnimatorBase(ScrollableArea*);
|
|
|
| virtual void notifyPositionChanged();
|
|
|
| - GC_PLUGIN_IGNORE("509911")
|
| - ScrollableArea* m_scrollableArea;
|
| + RawPtrWillBeMember<ScrollableArea> m_scrollableArea;
|
| float m_currentPosX; // We avoid using a FloatPoint in order to reduce
|
| float m_currentPosY; // subclass code complexity.
|
|
|
|
|