Scroll thumb jumps to top when resizing horizontally.
authorweinig@apple.com <weinig@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Fri, 4 Feb 2011 00:11:25 +0000 (00:11 +0000)
committerweinig@apple.com <weinig@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Fri, 4 Feb 2011 00:11:25 +0000 (00:11 +0000)
commit155785fd4c1ad236b85ee1cf2129587ab1d7c8c3
treee47f8bcf9118249bb061d4473501a2d8fe29a632
parent9a0c3396906c1f89cefec7ecfc260239ebad4e90
Scroll thumb jumps to top when resizing horizontally.

Reviewed by Beth Dakin.

* platform/ScrollView.cpp:
(WebCore::ScrollView::updateScrollbars): Add call to update
the scrollbar's offset in the case where we may have created
a new scrollbar but have not changed the current position.

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