| Index: third_party/WebKit/Source/platform/scroll/Scrollbar.cpp
|
| diff --git a/third_party/WebKit/Source/platform/scroll/Scrollbar.cpp b/third_party/WebKit/Source/platform/scroll/Scrollbar.cpp
|
| index daf1e3d2fdead90e7713d7393766aa3a8e82a931..516eed533a8be643ee4b9a1c0b32f7df95180df5 100644
|
| --- a/third_party/WebKit/Source/platform/scroll/Scrollbar.cpp
|
| +++ b/third_party/WebKit/Source/platform/scroll/Scrollbar.cpp
|
| @@ -253,7 +253,8 @@ void Scrollbar::moveThumb(int pos, bool draggingDocument) {
|
| if (m_draggingDocument)
|
| delta = pos - m_documentDragPos;
|
| m_draggingDocument = true;
|
| - ScrollOffset currentPosition = m_scrollableArea->scrollOffset();
|
| + ScrollOffset currentPosition =
|
| + m_scrollableArea->scrollAnimator().currentOffset();
|
| float destinationPosition =
|
| (m_orientation == HorizontalScrollbar ? currentPosition.width()
|
| : currentPosition.height()) +
|
| @@ -604,11 +605,11 @@ float Scrollbar::scrollableAreaTargetPos() const {
|
| return 0;
|
|
|
| if (m_orientation == HorizontalScrollbar) {
|
| - return m_scrollableArea->scrollAnimatorDesiredTargetOffset().width() -
|
| + return m_scrollableArea->scrollAnimator().desiredTargetOffset().width() -
|
| m_scrollableArea->minimumScrollOffset().width();
|
| }
|
|
|
| - return m_scrollableArea->scrollAnimatorDesiredTargetOffset().height() -
|
| + return m_scrollableArea->scrollAnimator().desiredTargetOffset().height() -
|
| m_scrollableArea->minimumScrollOffset().height();
|
| }
|
|
|
|
|