Fix miscalculation of the overhang area used for painting. We were
authorweinig@apple.com <weinig@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Thu, 3 Feb 2011 03:45:32 +0000 (03:45 +0000)
committerweinig@apple.com <weinig@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Thu, 3 Feb 2011 03:45:32 +0000 (03:45 +0000)
commit27ebb67632208de89423cf0d46da6cebed6ec4e1
treef7f37db3c82c3cadb26833efb2b123fb6415d98a
parentea9d36dff98a1a7c24cb4521f40a279c5c01d0b3
Fix miscalculation of the overhang area used for painting. We were
not correctly accounting for scrollbars resulting in an non-negative
overhang even when we weren't over the edge.

Reviewed by Dan Bernstein.

* platform/ScrollView.cpp:
(WebCore::ScrollView::calculateOverhangAreasForPainting):

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