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