Index: Source/core/rendering/RenderBox.cpp |
diff --git a/Source/core/rendering/RenderBox.cpp b/Source/core/rendering/RenderBox.cpp |
index 53969f797ff7e093507b88f22e71371c11b68deb..4d52eded75f716c090d5e21831d342a9aab5279d 100644 |
--- a/Source/core/rendering/RenderBox.cpp |
+++ b/Source/core/rendering/RenderBox.cpp |
@@ -1261,7 +1261,7 @@ void RenderBox::imageChanged(WrappedImagePtr image, const IntRect*) |
} |
ShapeValue* shapeOutsideValue = style()->shapeOutside(); |
- if (isFloating() && shapeOutsideValue && shapeOutsideValue->image() && shapeOutsideValue->image()->data() == image) { |
+ if (!frameView()->isInPerformLayout() && isFloating() && shapeOutsideValue && shapeOutsideValue->image() && shapeOutsideValue->image()->data() == image) { |
ShapeOutsideInfo& info = ShapeOutsideInfo::ensureInfo(*this); |
if (!info.isComputingShape()) { |
info.markShapeAsDirty(); |