Index: Source/core/rendering/RenderBlock.cpp |
diff --git a/Source/core/rendering/RenderBlock.cpp b/Source/core/rendering/RenderBlock.cpp |
index eadd43ce350a0cf81b5fbf6582321e6a29f18f12..4c031e4578d19be9ef4f75d27515b74f4f178808 100644 |
--- a/Source/core/rendering/RenderBlock.cpp |
+++ b/Source/core/rendering/RenderBlock.cpp |
@@ -1644,12 +1644,8 @@ void RenderBlock::addOverflowFromPositionedObjects() |
positionedObject = *it; |
// Fixed positioned elements don't contribute to layout overflow, since they don't scroll with the content. |
- if (positionedObject->style()->position() != FixedPosition) { |
- LayoutUnit x = positionedObject->x(); |
- if (style()->shouldPlaceBlockDirectionScrollbarOnLogicalLeft()) |
- x -= verticalScrollbarWidth(); |
- addOverflowFromChild(positionedObject, LayoutSize(x, positionedObject->y())); |
- } |
+ if (positionedObject->style()->position() != FixedPosition) |
+ addOverflowFromChild(positionedObject, LayoutSize(positionedObject->x(), positionedObject->y())); |
} |
} |