Index: Source/core/rendering/LayoutState.cpp |
diff --git a/Source/core/rendering/LayoutState.cpp b/Source/core/rendering/LayoutState.cpp |
index 667d4efa2b0998ae2a808f8dc48fa0dba412f080..e9cb94b10e2472b672b4caf5e24b973d10338639 100644 |
--- a/Source/core/rendering/LayoutState.cpp |
+++ b/Source/core/rendering/LayoutState.cpp |
@@ -107,7 +107,7 @@ LayoutState::LayoutState(LayoutState* prev, RenderBox& renderer, const LayoutSiz |
if (renderer.isRenderBlock()) { |
const RenderBlock& renderBlock = toRenderBlock(renderer); |
m_shapeInsideInfo = renderBlock.shapeInsideInfo(); |
- if (!m_shapeInsideInfo && m_next->m_shapeInsideInfo && renderBlock.allowsShapeInsideInfoSharing(m_next->m_shapeInsideInfo->owner())) |
+ if (!m_shapeInsideInfo && m_next->m_shapeInsideInfo && renderBlock.allowsShapeInsideInfoSharing(&m_next->m_shapeInsideInfo->owner())) |
m_shapeInsideInfo = m_next->m_shapeInsideInfo; |
} |