Index: Source/core/rendering/RenderLayer.cpp |
diff --git a/Source/core/rendering/RenderLayer.cpp b/Source/core/rendering/RenderLayer.cpp |
index 47daac7a275648b61943f8507c8de06b3394a616..896b66dc32327fc9c22e695d6ad0f75477967f97 100644 |
--- a/Source/core/rendering/RenderLayer.cpp |
+++ b/Source/core/rendering/RenderLayer.cpp |
@@ -2084,7 +2084,7 @@ void RenderLayer::scrollByRecursively(const IntSize& delta, ScrollOffsetClamping |
IntSize remainingScrollOffset = newScrollOffset - adjustedScrollOffset(); |
if (!remainingScrollOffset.isZero() && renderer()->parent()) { |
if (RenderLayer* scrollableLayer = enclosingScrollableLayer()) |
- scrollableLayer->scrollByRecursively(remainingScrollOffset); |
+ scrollableLayer->scrollByRecursively(remainingScrollOffset, clamp); |
Frame* frame = renderer()->frame(); |
if (frame) |