| Index: third_party/WebKit/Source/core/paint/PaintLayerScrollableArea.cpp
|
| diff --git a/third_party/WebKit/Source/core/paint/PaintLayerScrollableArea.cpp b/third_party/WebKit/Source/core/paint/PaintLayerScrollableArea.cpp
|
| index 8a3834508490099d27d85458a4d021a0ba34c05c..656b4effafa988901318f24c2df30272ccbf154b 100644
|
| --- a/third_party/WebKit/Source/core/paint/PaintLayerScrollableArea.cpp
|
| +++ b/third_party/WebKit/Source/core/paint/PaintLayerScrollableArea.cpp
|
| @@ -1464,6 +1464,15 @@ void PaintLayerScrollableArea::resetRebuildScrollbarLayerFlags()
|
| m_rebuildVerticalScrollbarLayer = false;
|
| }
|
|
|
| +CompositorAnimationTimeline* PaintLayerScrollableArea::compositorAnimationTimeline() const
|
| +{
|
| + if (LocalFrame* frame = box().frame()) {
|
| + if (Page* page = frame->page())
|
| + return page->scrollingCoordinator() ? page->scrollingCoordinator()->compositorAnimationTimeline() : nullptr;
|
| + }
|
| + return nullptr;
|
| +}
|
| +
|
| PaintLayerScrollableArea::ScrollbarManager::ScrollbarManager(PaintLayerScrollableArea& scrollableArea)
|
| : m_scrollableArea(&scrollableArea)
|
| , m_canDetachScrollbars(0)
|
|
|