Index: Source/core/frame/FrameView.cpp |
diff --git a/Source/core/frame/FrameView.cpp b/Source/core/frame/FrameView.cpp |
index 080423016f8f223105ac560c1beb7ea51703051d..7dd06a6d194678f86c54eca5e8cb1d74d288586c 100644 |
--- a/Source/core/frame/FrameView.cpp |
+++ b/Source/core/frame/FrameView.cpp |
@@ -98,7 +98,7 @@ static RenderLayer::UpdateLayerPositionsFlags updateLayerPositionFlags(RenderLay |
{ |
RenderLayer::UpdateLayerPositionsFlags flags = didFullRepaint ? RenderLayer::NeedsFullRepaintInBacking : RenderLayer::CheckForRepaint; |
- if (isRelayoutingSubtree && layer->isPaginated()) |
+ if (isRelayoutingSubtree && (layer->isPaginated() || layer->enclosingPaginationLayer())) |
flags |= RenderLayer::UpdatePagination; |
return flags; |