Index: Source/core/rendering/RenderBox.cpp |
diff --git a/Source/core/rendering/RenderBox.cpp b/Source/core/rendering/RenderBox.cpp |
index 760eab0aad7d7832b5fed5c1e2a2aff48cfc7088..9078620edf747cc3fea5918f6227738083430d21 100644 |
--- a/Source/core/rendering/RenderBox.cpp |
+++ b/Source/core/rendering/RenderBox.cpp |
@@ -240,7 +240,7 @@ void RenderBox::updateShapeOutsideInfoAfterStyleChange(const RenderStyle& style, |
if (!shapeOutside) |
ShapeOutsideInfo::removeInfo(this); |
else |
- ShapeOutsideInfo::ensureInfo(this)->dirtyShapeSize(); |
+ ShapeOutsideInfo::ensureInfo(this)->markShapeAsDirty(); |
if (shapeOutside || shapeOutside != oldShapeOutside) |
markShapeOutsideDependentsForLayout(); |
@@ -1572,7 +1572,7 @@ void RenderBox::imageChanged(WrappedImagePtr image, const IntRect*) |
ShapeValue* shapeOutsideValue = style()->shapeOutside(); |
if (!frameView()->isInPerformLayout() && isFloating() && shapeOutsideValue && shapeOutsideValue->image() && shapeOutsideValue->image()->data() == image) { |
- ShapeOutsideInfo::ensureInfo(this)->dirtyShapeSize(); |
+ ShapeOutsideInfo::ensureInfo(this)->markShapeAsDirty(); |
markShapeOutsideDependentsForLayout(); |
} |