Index: Source/core/rendering/style/RenderStyle.cpp |
diff --git a/Source/core/rendering/style/RenderStyle.cpp b/Source/core/rendering/style/RenderStyle.cpp |
index 4520cb2d81a2b71f2f3b18d916bbd329d1cad4de..6c5d92e353290c20d657bea682c58708ef1468f8 100644 |
--- a/Source/core/rendering/style/RenderStyle.cpp |
+++ b/Source/core/rendering/style/RenderStyle.cpp |
@@ -441,9 +441,6 @@ bool RenderStyle::diffNeedsFullLayoutAndPaintInvalidation(const RenderStyle& oth |
|| rareNonInheritedData->m_wrapThrough != other.rareNonInheritedData->m_wrapThrough |
|| rareNonInheritedData->m_shapeMargin != other.rareNonInheritedData->m_shapeMargin |
|| rareNonInheritedData->m_order != other.rareNonInheritedData->m_order |
- || rareNonInheritedData->m_alignContent != other.rareNonInheritedData->m_alignContent |
- || rareNonInheritedData->m_alignItems != other.rareNonInheritedData->m_alignItems |
- || rareNonInheritedData->m_alignSelf != other.rareNonInheritedData->m_alignSelf |
|| rareNonInheritedData->m_justifyContent != other.rareNonInheritedData->m_justifyContent |
|| rareNonInheritedData->m_grid.get() != other.rareNonInheritedData->m_grid.get() |
|| rareNonInheritedData->m_gridItem.get() != other.rareNonInheritedData->m_gridItem.get() |
@@ -618,6 +615,13 @@ bool RenderStyle::diffNeedsFullLayout(const RenderStyle& other) const |
return true; |
} |
+ if (rareNonInheritedData.get() != other.rareNonInheritedData.get()) { |
+ if (rareNonInheritedData->m_alignContent != other.rareNonInheritedData->m_alignContent |
+ || rareNonInheritedData->m_alignItems != other.rareNonInheritedData->m_alignItems |
+ || rareNonInheritedData->m_alignSelf != other.rareNonInheritedData->m_alignSelf) |
+ return true; |
+ } |
+ |
return false; |
} |