| Index: Source/core/frame/FrameView.cpp
|
| diff --git a/Source/core/frame/FrameView.cpp b/Source/core/frame/FrameView.cpp
|
| index d2f308350872ea4aa90113b78f477a5a2a38fa3b..fbaf10c328a1c08751e39ea685d263d40e828370 100644
|
| --- a/Source/core/frame/FrameView.cpp
|
| +++ b/Source/core/frame/FrameView.cpp
|
| @@ -1501,10 +1501,10 @@ void FrameView::setScrollPosition(const DoublePoint& scrollPoint, ScrollType scr
|
| if (scrollBehavior == ScrollBehaviorInstant) {
|
| DoubleSize newOffset(newScrollPosition.x(), newScrollPosition.y());
|
| // TODO(bokan): Why do we need to go through updateScrollbars? If not, we can
|
| - // just delete this whole method and use the base version.
|
| + // just delete this behavior switch and use the base method.
|
| updateScrollbars(newOffset);
|
| } else {
|
| - ScrollableArea::setScrollPosition(newScrollPosition, ProgrammaticScroll, ScrollBehaviorSmooth);
|
| + ScrollableArea::setScrollPosition(newScrollPosition, scrollType, ScrollBehaviorSmooth);
|
| }
|
| }
|
|
|
|
|