Index: Source/core/layout/LayoutListMarker.cpp |
diff --git a/Source/core/layout/LayoutListMarker.cpp b/Source/core/layout/LayoutListMarker.cpp |
index 9a31487dd122f0a6a4821837e0d36f84b8475228..2400c7da6cfcd0d66ad7d8849946025897acec42 100644 |
--- a/Source/core/layout/LayoutListMarker.cpp |
+++ b/Source/core/layout/LayoutListMarker.cpp |
@@ -1078,7 +1078,7 @@ LayoutListMarker* LayoutListMarker::createAnonymous(LayoutListItem* item) |
void LayoutListMarker::styleWillChange(StyleDifference diff, const LayoutStyle& newStyle) |
{ |
if (style() && (newStyle.listStylePosition() != style()->listStylePosition() || newStyle.listStyleType() != style()->listStyleType())) |
- setNeedsLayoutAndPrefWidthsRecalcAndFullPaintInvalidation(); |
+ setNeedsLayoutAndPrefWidthsRecalcAndFullPaintInvalidation(LayoutInvalidationReason::StyleChange); |
LayoutBox::styleWillChange(diff, newStyle); |
} |
@@ -1158,7 +1158,7 @@ void LayoutListMarker::imageChanged(WrappedImagePtr o, const IntRect*) |
return; |
if (size() != m_image->imageSize(this, style()->effectiveZoom()) || m_image->errorOccurred()) |
- setNeedsLayoutAndPrefWidthsRecalcAndFullPaintInvalidation(); |
+ setNeedsLayoutAndPrefWidthsRecalcAndFullPaintInvalidation(LayoutInvalidationReason::ImageChanged); |
else |
setShouldDoFullPaintInvalidation(); |
} |