[iOS] Incremental updates during scroll-to-top shouldn’t count as “stable” updates
authortimothy_horton@apple.com <timothy_horton@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Thu, 15 May 2014 08:09:15 +0000 (08:09 +0000)
committertimothy_horton@apple.com <timothy_horton@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Thu, 15 May 2014 08:09:15 +0000 (08:09 +0000)
commit7c1d6a24c777dde138727ac86d2c39e3d47b65a3
tree9fd80505eb580c2019afbf420dd0bb6aaee36be0
parent1c0ddda3849c86824ded01e663c2045d2cdb7690
[iOS] Incremental updates during scroll-to-top shouldn’t count as “stable” updates
https://bugs.webkit.org/show_bug.cgi?id=132934

Reviewed by Simon Fraser.

* UIProcess/API/Cocoa/WKWebView.mm:
(-[WKWebView _updateVisibleContentRects]):
If we're in a scroll-to-top programmatic scroll, the update is not stable.
The last event comes in with _isScrollingToTop false, so we do our stable update.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@168895 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Source/WebKit2/ChangeLog
Source/WebKit2/UIProcess/API/Cocoa/WKWebView.mm