| Index: Source/core/rendering/style/RenderStyle.cpp
|
| diff --git a/Source/core/rendering/style/RenderStyle.cpp b/Source/core/rendering/style/RenderStyle.cpp
|
| index 5bc10a9b66565f176cd14ab56e9b68093e850b85..af75a76ad9b02831944cd08e60ca437fcff11563 100644
|
| --- a/Source/core/rendering/style/RenderStyle.cpp
|
| +++ b/Source/core/rendering/style/RenderStyle.cpp
|
| @@ -458,10 +458,6 @@ bool RenderStyle::diffNeedsFullLayoutAndPaintInvalidation(const RenderStyle& oth
|
| && *rareNonInheritedData->m_flexibleBox.get() != *other.rareNonInheritedData->m_flexibleBox.get())
|
| return true;
|
|
|
| - // FIXME: We should add an optimized form of layout that just recomputes visual overflow.
|
| - if (!rareNonInheritedData->shadowDataEquivalent(*other.rareNonInheritedData.get()))
|
| - return true;
|
| -
|
| if (!rareNonInheritedData->reflectionDataEquivalent(*other.rareNonInheritedData.get()))
|
| return true;
|
|
|
| @@ -664,6 +660,7 @@ bool RenderStyle::diffNeedsPaintInvalidationObject(const RenderStyle& other) con
|
| || rareNonInheritedData->m_borderFit != other.rareNonInheritedData->m_borderFit
|
| || rareNonInheritedData->m_objectFit != other.rareNonInheritedData->m_objectFit
|
| || rareNonInheritedData->m_objectPosition != other.rareNonInheritedData->m_objectPosition
|
| + || !rareNonInheritedData->shadowDataEquivalent(*other.rareNonInheritedData.get())
|
| || !dataEquivalent(rareNonInheritedData->m_shapeOutside, other.rareNonInheritedData->m_shapeOutside)
|
| || !dataEquivalent(rareNonInheritedData->m_clipPath, other.rareNonInheritedData->m_clipPath))
|
| return true;
|
|
|