| Index: third_party/WebKit/Source/platform/scroll/ScrollableArea.cpp
|
| diff --git a/third_party/WebKit/Source/platform/scroll/ScrollableArea.cpp b/third_party/WebKit/Source/platform/scroll/ScrollableArea.cpp
|
| index 78c7c188da7736fb341fccebb4d7e734579d02cd..4f7516dc7b2bc8c04d289a5f01b85a75be6e493b 100644
|
| --- a/third_party/WebKit/Source/platform/scroll/ScrollableArea.cpp
|
| +++ b/third_party/WebKit/Source/platform/scroll/ScrollableArea.cpp
|
| @@ -283,9 +283,10 @@ void ScrollableArea::ScrollOffsetChanged(const ScrollOffset& offset,
|
| if (Scrollbar* vertical_scrollbar = this->VerticalScrollbar())
|
| vertical_scrollbar->OffsetDidChange();
|
|
|
| - if (GetScrollOffset() != old_offset)
|
| - GetScrollAnimator().NotifyContentAreaScrolled(GetScrollOffset() -
|
| - old_offset);
|
| + if (GetScrollOffset() != old_offset) {
|
| + GetScrollAnimator().NotifyContentAreaScrolled(
|
| + GetScrollOffset() - old_offset, scroll_type);
|
| + }
|
|
|
| GetScrollAnimator().SetCurrentOffset(offset);
|
| }
|
|
|