Index: Source/core/rendering/RenderBlock.cpp |
diff --git a/Source/core/rendering/RenderBlock.cpp b/Source/core/rendering/RenderBlock.cpp |
index 027b65183becdaa9ea70f2b5bd905eb6935ee7ad..e500831f7515f4f71dc455f70006eede52b534cb 100644 |
--- a/Source/core/rendering/RenderBlock.cpp |
+++ b/Source/core/rendering/RenderBlock.cpp |
@@ -1400,8 +1400,8 @@ void RenderBlock::imageChanged(WrappedImagePtr image, const IntRect*) |
ShapeValue* shapeValue = style()->shapeInside(); |
if (shapeValue && shapeValue->image() && shapeValue->image()->data() == image) { |
- ShapeInsideInfo* shapeInsideInfo = ensureShapeInsideInfo(); |
- shapeInsideInfo->markShapeAsDirty(); |
+ ShapeInsideInfo& shapeInsideInfo = ensureShapeInsideInfo(); |
+ shapeInsideInfo.markShapeAsDirty(); |
markShapeInsideDescendantsForLayout(); |
} |
} |
@@ -1413,8 +1413,8 @@ void RenderBlock::updateShapeInsideInfoAfterStyleChange(const ShapeValue* shapeI |
return; |
if (shapeInside) { |
- ShapeInsideInfo* shapeInsideInfo = ensureShapeInsideInfo(); |
- shapeInsideInfo->markShapeAsDirty(); |
+ ShapeInsideInfo& shapeInsideInfo = ensureShapeInsideInfo(); |
+ shapeInsideInfo.markShapeAsDirty(); |
} else { |
setShapeInsideInfo(nullptr); |
markShapeInsideDescendantsForLayout(); |