| Index: Source/core/layout/LayoutImage.cpp
|
| diff --git a/Source/core/layout/LayoutImage.cpp b/Source/core/layout/LayoutImage.cpp
|
| index d93280a590121c736797572bd0154ec2b1a3282f..0ed98d17b92287d8889c94847e71b776f2d7f266 100644
|
| --- a/Source/core/layout/LayoutImage.cpp
|
| +++ b/Source/core/layout/LayoutImage.cpp
|
| @@ -156,7 +156,7 @@ void LayoutImage::invalidatePaintAndMarkForLayoutIfNeeded()
|
| bool containingBlockNeedsToRecomputePreferredSize = style()->logicalWidth().isPercent() || style()->logicalMaxWidth().isPercent() || style()->logicalMinWidth().isPercent();
|
|
|
| if (imageSourceHasChangedSize && (!imageSizeIsConstrained || containingBlockNeedsToRecomputePreferredSize)) {
|
| - setNeedsLayoutAndFullPaintInvalidation();
|
| + setNeedsLayoutAndFullPaintInvalidation(LayoutInvalidationReason::SizeChanged);
|
| return;
|
| }
|
|
|
|
|