| Index: third_party/WebKit/Source/core/layout/compositing/PaintLayerCompositor.cpp
|
| diff --git a/third_party/WebKit/Source/core/layout/compositing/PaintLayerCompositor.cpp b/third_party/WebKit/Source/core/layout/compositing/PaintLayerCompositor.cpp
|
| index 6f2462f76095a105ba6d4e9555f07926cf0be158..f99b50298fbbb9248c92ce34042daf79d65be37e 100644
|
| --- a/third_party/WebKit/Source/core/layout/compositing/PaintLayerCompositor.cpp
|
| +++ b/third_party/WebKit/Source/core/layout/compositing/PaintLayerCompositor.cpp
|
| @@ -633,11 +633,11 @@ void PaintLayerCompositor::frameViewDidScroll()
|
| scrollingCoordinatorHandlesOffset = scrollingCoordinator->scrollableAreaScrollLayerDidChange(frameView);
|
| }
|
|
|
| - // Scroll position = scroll minimum + scroll offset. Adjust the layer's
|
| + // Scroll position = scroll origin + scroll offset. Adjust the layer's
|
| // position to handle whatever the scroll coordinator isn't handling.
|
| - // The minimum scroll position is non-zero for RTL pages with overflow.
|
| + // The scroll origin is non-zero for RTL pages with overflow.
|
| if (scrollingCoordinatorHandlesOffset)
|
| - m_scrollLayer->setPosition(-frameView->minimumScrollPosition());
|
| + m_scrollLayer->setPosition(frameView->scrollOrigin());
|
| else
|
| m_scrollLayer->setPosition(-scrollPosition);
|
|
|
|
|