Index: Source/core/rendering/compositing/CompositedLayerMapping.cpp |
diff --git a/Source/core/rendering/compositing/CompositedLayerMapping.cpp b/Source/core/rendering/compositing/CompositedLayerMapping.cpp |
index 352a2c2eb93b04ef501000dfca5aa714af09251e..54a1db032a310c8db3ad9e1f1cae26687af5fff4 100644 |
--- a/Source/core/rendering/compositing/CompositedLayerMapping.cpp |
+++ b/Source/core/rendering/compositing/CompositedLayerMapping.cpp |
@@ -798,9 +798,6 @@ void CompositedLayerMapping::updateGraphicsLayerGeometry() |
ASSERT(m_scrollingContentsLayer); |
RenderBox* renderBox = toRenderBox(renderer()); |
IntRect clientBox = enclosingIntRect(renderBox->clientBoxRect()); |
- // FIXME: We should make RenderBox::clientBoxRect consider scrollbar placement. |
- if (style->shouldPlaceBlockDirectionScrollbarOnLogicalLeft()) |
- clientBox.move(renderBox->verticalScrollbarWidth(), 0); |
IntSize adjustedScrollOffset = m_owningLayer->scrollableArea()->adjustedScrollOffset(); |
m_scrollingLayer->setPosition(FloatPoint(clientBox.location() - localCompositingBounds.location() + roundedIntSize(m_subpixelAccumulation))); |