Index: Source/core/rendering/RenderBox.cpp |
diff --git a/Source/core/rendering/RenderBox.cpp b/Source/core/rendering/RenderBox.cpp |
index 108a5c32cf5c3193ae5c0049f48c8849d8240c16..5cefd53abd4cc8fd095ca37307db077214fdf59f 100644 |
--- a/Source/core/rendering/RenderBox.cpp |
+++ b/Source/core/rendering/RenderBox.cpp |
@@ -105,7 +105,7 @@ void RenderBox::willBeDestroyed() |
RenderBlock::removePercentHeightDescendantIfNeeded(this); |
- ShapeOutsideInfo::removeInfo(this); |
+ ShapeOutsideInfo::removeInfo(*this); |
RenderBoxModelObject::willBeDestroyed(); |
} |
@@ -238,9 +238,9 @@ void RenderBox::updateShapeOutsideInfoAfterStyleChange(const RenderStyle& style, |
return; |
if (!shapeOutside) |
- ShapeOutsideInfo::removeInfo(this); |
+ ShapeOutsideInfo::removeInfo(*this); |
else |
- ShapeOutsideInfo::ensureInfo(this)->markShapeAsDirty(); |
+ 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)->markShapeAsDirty(); |
+ ShapeOutsideInfo::ensureInfo(*this).markShapeAsDirty(); |
markShapeOutsideDependentsForLayout(); |
} |