| Index: Source/core/rendering/compositing/CompositedLayerMapping.cpp
|
| diff --git a/Source/core/rendering/compositing/CompositedLayerMapping.cpp b/Source/core/rendering/compositing/CompositedLayerMapping.cpp
|
| index 0c1323b719551b65997cd17ddbb6f23de80d4c48..74bcf9a407e227e6c6a191f94cea45e701e6a3f6 100644
|
| --- a/Source/core/rendering/compositing/CompositedLayerMapping.cpp
|
| +++ b/Source/core/rendering/compositing/CompositedLayerMapping.cpp
|
| @@ -892,8 +892,8 @@ void CompositedLayerMapping::updateScrollingLayerGeometry(const IntRect& localCo
|
| ASSERT(m_scrollingContentsLayer);
|
| RenderBox* renderBox = toRenderBox(renderer());
|
| IntRect clientBox = enclosingIntRect(renderBox->clientBoxRect());
|
| -
|
| - IntSize adjustedScrollOffset = m_owningLayer.scrollableArea()->adjustedScrollOffset();
|
| + // FIXME: Remove the flooredIntSize conversion. crbug.com/414283.
|
| + IntSize adjustedScrollOffset = flooredIntSize(m_owningLayer.scrollableArea()->adjustedScrollOffset());
|
| m_scrollingLayer->setPosition(FloatPoint(clientBox.location() - localCompositingBounds.location() + roundedIntSize(m_owningLayer.subpixelAccumulation())));
|
| m_scrollingLayer->setSize(clientBox.size());
|
|
|
| @@ -1149,8 +1149,8 @@ void CompositedLayerMapping::updateScrollingBlockSelection()
|
| m_scrollingBlockSelectionLayer->setDrawsContent(!paintsIntoCompositedAncestor() && shouldDrawContent);
|
| if (!shouldDrawContent)
|
| return;
|
| -
|
| - const IntPoint position = blockSelectionGapsBounds.location() + m_owningLayer.scrollableArea()->adjustedScrollOffset();
|
| + // FIXME: Remove the flooredIntSize conversion. crbug.com/414283.
|
| + const IntPoint position = blockSelectionGapsBounds.location() + flooredIntSize(m_owningLayer.scrollableArea()->adjustedScrollOffset());
|
| if (m_scrollingBlockSelectionLayer->size() == blockSelectionGapsBounds.size() && m_scrollingBlockSelectionLayer->position() == position)
|
| return;
|
|
|
|
|