Index: Source/core/layout/LayoutListMarker.cpp |
diff --git a/Source/core/layout/LayoutListMarker.cpp b/Source/core/layout/LayoutListMarker.cpp |
index 57e75c776c7165f2bcaa42985a8e1d60de2c88d8..01a02be83af6053ee2a2df3d0b530a56b31ed374 100644 |
--- a/Source/core/layout/LayoutListMarker.cpp |
+++ b/Source/core/layout/LayoutListMarker.cpp |
@@ -1079,7 +1079,7 @@ LayoutListMarker* LayoutListMarker::createAnonymous(LayoutListItem* item) |
void LayoutListMarker::styleWillChange(StyleDifference diff, const ComputedStyle& newStyle) |
{ |
if (style() && (newStyle.listStylePosition() != style()->listStylePosition() || newStyle.listStyleType() != style()->listStyleType())) |
- setNeedsLayoutAndPrefWidthsRecalcAndFullPaintInvalidation(); |
+ setNeedsLayoutAndPrefWidthsRecalcAndFullPaintInvalidation(LayoutInvalidationReason::StyleChange); |
LayoutBox::styleWillChange(diff, newStyle); |
} |
@@ -1160,7 +1160,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(); |
} |