<rdar://problem/9414874> Layout unnecessarily interrupts smooth scrolling at msnbc.com
authormitz@apple.com <mitz@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Thu, 12 May 2011 00:45:30 +0000 (00:45 +0000)
committermitz@apple.com <mitz@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Thu, 12 May 2011 00:45:30 +0000 (00:45 +0000)
commit3d136e23585c7c4e875b44ccc91bfc61305192e8
tree7adae6e3c2defe5edbf3faa7f95272b16e8cd276
parent37a3f0c44bccabdcd446dbe19a673f617a1badc5
<rdar://problem/9414874> Layout unnecessarily interrupts smooth scrolling at msnbc.com
https://bugs.webkit.org/show_bug.cgi?id=60677

Reviewed by Darin Adler.

* platform/ScrollView.cpp:
(WebCore::ScrollView::updateScrollbars): Only perform an immediate scroll, aborting any running
animation, if the new scroll offset computed here is different from the current scroll offset.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@86293 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Source/WebCore/ChangeLog
Source/WebCore/platform/ScrollView.cpp