Index: Source/core/layout/LayoutReplaced.cpp |
diff --git a/Source/core/layout/LayoutReplaced.cpp b/Source/core/layout/LayoutReplaced.cpp |
index cadc5b1efdfca7550721f9fc995e1c951ff800b8..4a0238f9488f813c838ba3a193afb0185c055607 100644 |
--- a/Source/core/layout/LayoutReplaced.cpp |
+++ b/Source/core/layout/LayoutReplaced.cpp |
@@ -102,7 +102,7 @@ void LayoutReplaced::intrinsicSizeChanged() |
int scaledWidth = static_cast<int>(defaultWidth * style()->effectiveZoom()); |
int scaledHeight = static_cast<int>(defaultHeight * style()->effectiveZoom()); |
m_intrinsicSize = LayoutSize(scaledWidth, scaledHeight); |
- setNeedsLayoutAndPrefWidthsRecalcAndFullPaintInvalidation(); |
+ setNeedsLayoutAndPrefWidthsRecalcAndFullPaintInvalidation(LayoutInvalidationReason::SizeChanged); |
} |
void LayoutReplaced::paint(const PaintInfo& paintInfo, const LayoutPoint& paintOffset) |