| Index: Source/web/WebViewImpl.cpp
|
| diff --git a/Source/web/WebViewImpl.cpp b/Source/web/WebViewImpl.cpp
|
| index 870913bbd6e4a9e2bfee1a1f3deac1a83680c753..537ec2ece4d68f730694ef892c1ef33659abae53 100644
|
| --- a/Source/web/WebViewImpl.cpp
|
| +++ b/Source/web/WebViewImpl.cpp
|
| @@ -4286,10 +4286,9 @@ void WebViewImpl::updateMainFrameScrollPosition(const DoublePoint& scrollPositio
|
| if (scrollableArea->scrollPositionDouble() == scrollPosition)
|
| return;
|
|
|
| - bool oldProgrammaticScroll = frameView->inProgrammaticScroll();
|
| - frameView->setInProgrammaticScroll(programmaticScroll);
|
| scrollableArea->notifyScrollPositionChanged(scrollPosition);
|
| - frameView->setInProgrammaticScroll(oldProgrammaticScroll);
|
| + if (!programmaticScroll)
|
| + frameView->setWasScrolledByUser(true);
|
| }
|
|
|
| void WebViewImpl::applyViewportDeltas(
|
|
|