| Index: third_party/WebKit/Source/core/page/scrolling/ScrollingCoordinator.h
|
| diff --git a/third_party/WebKit/Source/core/page/scrolling/ScrollingCoordinator.h b/third_party/WebKit/Source/core/page/scrolling/ScrollingCoordinator.h
|
| index f503f8f7d7371cbe94bec1ed8cef738d4fef8942..f9d5dd4a421879ae4de3ef9f5066695b76b7e177 100644
|
| --- a/third_party/WebKit/Source/core/page/scrolling/ScrollingCoordinator.h
|
| +++ b/third_party/WebKit/Source/core/page/scrolling/ScrollingCoordinator.h
|
| @@ -34,6 +34,7 @@
|
| #include "platform/scroll/ScrollTypes.h"
|
| #include "wtf/Noncopyable.h"
|
| #include "wtf/text/WTFString.h"
|
| +#include <memory>
|
|
|
| namespace blink {
|
| class WebScrollbarLayer;
|
| @@ -95,7 +96,7 @@ public:
|
| MainThreadScrollingReasons mainThreadScrollingReasons() const;
|
| bool shouldUpdateScrollLayerPositionOnMainThread() const { return mainThreadScrollingReasons() != 0; }
|
|
|
| - PassOwnPtr<WebScrollbarLayer> createSolidColorScrollbarLayer(ScrollbarOrientation, int thumbThickness, int trackStart, bool isLeftSideVerticalScrollbar);
|
| + std::unique_ptr<WebScrollbarLayer> createSolidColorScrollbarLayer(ScrollbarOrientation, int thumbThickness, int trackStart, bool isLeftSideVerticalScrollbar);
|
|
|
| void willDestroyScrollableArea(ScrollableArea*);
|
| // Returns true if the coordinator handled this change.
|
| @@ -146,15 +147,15 @@ private:
|
| void setTouchEventTargetRects(LayerHitTestRects&);
|
| void computeTouchEventTargetRects(LayerHitTestRects&);
|
|
|
| - WebScrollbarLayer* addWebScrollbarLayer(ScrollableArea*, ScrollbarOrientation, PassOwnPtr<WebScrollbarLayer>);
|
| + WebScrollbarLayer* addWebScrollbarLayer(ScrollableArea*, ScrollbarOrientation, std::unique_ptr<WebScrollbarLayer>);
|
| WebScrollbarLayer* getWebScrollbarLayer(ScrollableArea*, ScrollbarOrientation);
|
| void removeWebScrollbarLayer(ScrollableArea*, ScrollbarOrientation);
|
|
|
| bool frameViewIsDirty() const;
|
|
|
| - OwnPtr<CompositorAnimationTimeline> m_programmaticScrollAnimatorTimeline;
|
| + std::unique_ptr<CompositorAnimationTimeline> m_programmaticScrollAnimatorTimeline;
|
|
|
| - using ScrollbarMap = HeapHashMap<Member<ScrollableArea>, OwnPtr<WebScrollbarLayer>>;
|
| + using ScrollbarMap = HeapHashMap<Member<ScrollableArea>, std::unique_ptr<WebScrollbarLayer>>;
|
| ScrollbarMap m_horizontalScrollbars;
|
| ScrollbarMap m_verticalScrollbars;
|
| HashSet<const PaintLayer*> m_layersWithTouchRects;
|
|
|