WK2: coordinate mapping for frames does not work when the page is scrolled.
authorenrica@apple.com <enrica@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Wed, 12 Feb 2014 22:37:20 +0000 (22:37 +0000)
committerenrica@apple.com <enrica@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Wed, 12 Feb 2014 22:37:20 +0000 (22:37 +0000)
commitcf4aa83ef57d656251fd2fd21ff65ae499c4c68f
treea64e4bb8ba5dcf1e3d12ce33ea678307ef2ea735
parentd5ff3573aeb6557ce32195a0df72e3d032217044
WK2: coordinate mapping for frames does not work when the page is scrolled.
https://bugs.webkit.org/show_bug.cgi?id=128690
<rdar://problem/16042925>

Reviewed by Simon Fraser.

We should not apply the scroll offset when using delegate scrolling.

* platform/ScrollView.cpp:
(WebCore::ScrollView::rootViewToContents):
(WebCore::ScrollView::contentsToRootView):
(WebCore::ScrollView::rootViewToTotalContents):

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