| 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 20791f1391c8371485b0420ae0f89d4cdd0dfbfa..588b7bcc8af6dc0052f98d5c11fe04dace7062d0 100644
|
| --- a/third_party/WebKit/Source/core/layout/compositing/PaintLayerCompositor.cpp
|
| +++ b/third_party/WebKit/Source/core/layout/compositing/PaintLayerCompositor.cpp
|
| @@ -639,7 +639,7 @@ enum AcceleratedFixedRootBackgroundHistogramBuckets {
|
|
|
| void PaintLayerCompositor::frameViewDidScroll() {
|
| FrameView* frameView = m_layoutView.frameView();
|
| - IntPoint scrollPosition = frameView->scrollPosition();
|
| + IntSize scrollOffset = frameView->scrollOffsetInt();
|
|
|
| if (!m_scrollLayer)
|
| return;
|
| @@ -657,7 +657,7 @@ void PaintLayerCompositor::frameViewDidScroll() {
|
| if (scrollingCoordinatorHandlesOffset)
|
| m_scrollLayer->setPosition(frameView->scrollOrigin());
|
| else
|
| - m_scrollLayer->setPosition(-scrollPosition);
|
| + m_scrollLayer->setPosition(IntPoint(-scrollOffset));
|
|
|
| DEFINE_STATIC_LOCAL(EnumerationHistogram, acceleratedBackgroundHistogram,
|
| ("Renderer.AcceleratedFixedRootBackground",
|
|
|