Index: Source/core/frame/LocalFrame.cpp |
diff --git a/Source/core/frame/LocalFrame.cpp b/Source/core/frame/LocalFrame.cpp |
index b350721e987bd1a6c3274ff8f3b606b70487432f..9c65062f22f0ad43afdcdc9057f609329b58b3c9 100644 |
--- a/Source/core/frame/LocalFrame.cpp |
+++ b/Source/core/frame/LocalFrame.cpp |
@@ -461,7 +461,7 @@ void LocalFrame::setPrinting(bool printing, const FloatSize& pageSize, const Flo |
view()->forceLayoutForPagination(pageSize, originalPageSize, maximumShrinkRatio); |
} else { |
if (LayoutView* layoutView = view()->layoutView()) |
- layoutView->setNeedsLayoutAndPrefWidthsRecalcAndFullPaintInvalidation(); |
+ layoutView->setNeedsLayoutAndPrefWidthsRecalcAndFullPaintInvalidation(LayoutInvalidationReason::PrintingChanged); |
view()->layout(); |
view()->adjustViewSize(); |
} |