| Index: third_party/WebKit/Source/core/layout/compositing/CompositedLayerMapping.cpp
|
| diff --git a/third_party/WebKit/Source/core/layout/compositing/CompositedLayerMapping.cpp b/third_party/WebKit/Source/core/layout/compositing/CompositedLayerMapping.cpp
|
| index a088bbb7cde042d048121cae85226aec082bba84..8a84bb055d86c9b4bfe9f147a63bdde1442615f0 100644
|
| --- a/third_party/WebKit/Source/core/layout/compositing/CompositedLayerMapping.cpp
|
| +++ b/third_party/WebKit/Source/core/layout/compositing/CompositedLayerMapping.cpp
|
| @@ -1256,8 +1256,8 @@ void CompositedLayerMapping::updateScrollingLayerGeometry(
|
| bool overflowClipRectOffsetChanged =
|
| oldScrollingLayerOffset != m_scrollingLayer->offsetFromLayoutObject();
|
|
|
| - IntSize scrollSize(layoutBox->scrollWidth().toInt(),
|
| - layoutBox->scrollHeight().toInt());
|
| + IntSize scrollSize(layoutBox->pixelSnappedScrollWidth(),
|
| + layoutBox->pixelSnappedScrollHeight());
|
| if (scrollSize != m_scrollingContentsLayer->size() ||
|
| overflowClipRectOffsetChanged)
|
| m_scrollingContentsLayer->setNeedsDisplay();
|
|
|