| 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..d7993d16b0b8cae20d65b5106adc468c5e12ca07 100644
|
| --- a/third_party/WebKit/Source/platform/scroll/ScrollAnimatorBase.h
|
| +++ b/third_party/WebKit/Source/platform/scroll/ScrollAnimatorBase.h
|
| @@ -44,9 +44,9 @@ 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();
|
|
|
| @@ -99,13 +99,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.
|
|
|
|
|