Index: Source/core/layout/LayoutReplaced.cpp |
diff --git a/Source/core/layout/LayoutReplaced.cpp b/Source/core/layout/LayoutReplaced.cpp |
index 08c9c4beaae262740a422aa77b7ef275e6a37219..0a1aef3ef0729c82b7661d02757fd2b862c5aa89 100644 |
--- a/Source/core/layout/LayoutReplaced.cpp |
+++ b/Source/core/layout/LayoutReplaced.cpp |
@@ -100,7 +100,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) |