| 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 4b444f9b9237fa328f1dcbec4003f9b4d6c1f077..b12e9c43d4fb4c535891cda44c6389a3d3ba86d8 100644
|
| --- a/third_party/WebKit/Source/core/page/scrolling/ScrollingCoordinator.cpp
|
| +++ b/third_party/WebKit/Source/core/page/scrolling/ScrollingCoordinator.cpp
|
| @@ -393,7 +393,7 @@ bool ScrollingCoordinator::scrollableAreaScrollLayerDidChange(ScrollableArea* sc
|
| WebLayer* containerLayer = toWebLayer(scrollableArea->layerForContainer());
|
| if (webLayer) {
|
| webLayer->setScrollClipLayer(containerLayer);
|
| - DoublePoint scrollPosition(scrollableArea->scrollPositionDouble() - scrollableArea->minimumScrollPositionDouble());
|
| + DoublePoint scrollPosition(scrollableArea->scrollPositionDouble() + toDoubleSize(scrollableArea->scrollOrigin()));
|
| webLayer->setScrollPositionDouble(scrollPosition);
|
|
|
| webLayer->setBounds(scrollableArea->contentsSize());
|
|
|