| Index: third_party/WebKit/Source/core/page/scrolling/ScrollingCoordinator.cpp
|
| diff --git a/third_party/WebKit/Source/core/page/scrolling/ScrollingCoordinator.cpp b/third_party/WebKit/Source/core/page/scrolling/ScrollingCoordinator.cpp
|
| index e3518e8738b58e352b99a0b268ea11343d73fb1d..d9cf0e3e6bb8f3792f7adb33d0de10361e11f4eb 100644
|
| --- a/third_party/WebKit/Source/core/page/scrolling/ScrollingCoordinator.cpp
|
| +++ b/third_party/WebKit/Source/core/page/scrolling/ScrollingCoordinator.cpp
|
| @@ -446,8 +446,8 @@ bool ScrollingCoordinator::scrollableAreaScrollLayerDidChange(
|
| WebLayer* containerLayer = toWebLayer(scrollableArea->layerForContainer());
|
| if (webLayer) {
|
| webLayer->setScrollClipLayer(containerLayer);
|
| - DoublePoint scrollPosition(scrollableArea->scrollPositionDouble() +
|
| - toDoubleSize(scrollableArea->scrollOrigin()));
|
| + DoublePoint scrollPosition(FloatPoint(scrollableArea->scrollOrigin()) +
|
| + scrollableArea->scrollOffset());
|
| webLayer->setScrollPositionDouble(scrollPosition);
|
|
|
| webLayer->setBounds(scrollableArea->contentsSize());
|
|
|