[iOS] ScrollView::visibleContentRectInternal is bypassing the iOS code for unobscured...
authorbenjamin@webkit.org <benjamin@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Fri, 16 May 2014 21:39:43 +0000 (21:39 +0000)
committerbenjamin@webkit.org <benjamin@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Fri, 16 May 2014 21:39:43 +0000 (21:39 +0000)
commit804b6d81846aa56064b5ce020c3ac37b9f05fb82
treedef704c2a6f8ff321486d0555af65efbd6d365dc
parentf876662cafd3ff9b84a7dfc33cdb4fb25c0ac9ae
[iOS] ScrollView::visibleContentRectInternal is bypassing the iOS code for unobscuredContentRect
https://bugs.webkit.org/show_bug.cgi?id=133008

Patch by Benjamin Poulain <bpoulain@apple.com> on 2014-05-16
Reviewed by Simon Fraser.

* platform/ScrollView.cpp:
(WebCore::ScrollView::visibleContentRectInternal):
ScrollView::visibleContentRectInternal() was calling the internal implementation of visibleContentRect().
That was skipping the iOS implementation and getting the framerect directly. That size is invalid on iOS
when the exposed rect and unobscured rect are not the same.

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