diff options
author | John Reck <jreck@google.com> | 2012-03-05 16:17:51 -0800 |
---|---|---|
committer | John Reck <jreck@google.com> | 2012-03-05 16:18:28 -0800 |
commit | 19973ef487ea5be4320e9404b06b7328fc597fbf (patch) | |
tree | acd8730b439eacb71670b998e5388ba3e4118a58 | |
parent | 69c551b23300a3c735fb2b1f84d7682afd3d893a (diff) | |
download | external_webkit-19973ef487ea5be4320e9404b06b7328fc597fbf.zip external_webkit-19973ef487ea5be4320e9404b06b7328fc597fbf.tar.gz external_webkit-19973ef487ea5be4320e9404b06b7328fc597fbf.tar.bz2 |
Fix scrollable divs
Bug: 6118912
Change-Id: I1345370b975e8a47b5969224f77e506bb87d973d
-rw-r--r-- | Source/WebCore/platform/graphics/android/ScrollableLayerAndroid.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/WebCore/platform/graphics/android/ScrollableLayerAndroid.cpp b/Source/WebCore/platform/graphics/android/ScrollableLayerAndroid.cpp index ab7f566..205727c 100644 --- a/Source/WebCore/platform/graphics/android/ScrollableLayerAndroid.cpp +++ b/Source/WebCore/platform/graphics/android/ScrollableLayerAndroid.cpp @@ -47,7 +47,7 @@ void ScrollableLayerAndroid::getScrollRect(SkIRect* out) const { const SkPoint& pos = getPosition(); out->fLeft = m_scrollLimits.fLeft - pos.fX; - out->fTop = m_scrollLimits.fTop - pos.fY + m_offset.y(); + out->fTop = m_scrollLimits.fTop - pos.fY; if (isIFrame()) { out->fLeft += m_iframeScrollOffset.x(); |