Index: Source/core/frame/LocalFrame.cpp |
diff --git a/Source/core/frame/LocalFrame.cpp b/Source/core/frame/LocalFrame.cpp |
index 76bedf73a0151d3b19aaf80ac893cdad320c284a..ec9d4d6671b7c29a40ba8745314f78686f14cddc 100644 |
--- a/Source/core/frame/LocalFrame.cpp |
+++ b/Source/core/frame/LocalFrame.cpp |
@@ -474,7 +474,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(); |
} |