| Index: Source/core/rendering/style/RenderStyle.cpp
|
| diff --git a/Source/core/rendering/style/RenderStyle.cpp b/Source/core/rendering/style/RenderStyle.cpp
|
| index 43fedd29bc3bc2361fad3db8cb6022937664b6d5..fdd09f644f89792b287ab94b0a37c93685f0e6ac 100644
|
| --- a/Source/core/rendering/style/RenderStyle.cpp
|
| +++ b/Source/core/rendering/style/RenderStyle.cpp
|
| @@ -402,9 +402,6 @@ StyleDifference RenderStyle::visualInvalidationDiff(const RenderStyle& other, un
|
|
|
| changedContextSensitiveProperties = computeChangedContextSensitiveProperties(other, diff);
|
|
|
| - if (diff.hasNoChange() && diffNeedsRecompositeLayer(other))
|
| - diff.setNeedsRecompositeLayer();
|
| -
|
| // Cursors are not checked, since they will be set appropriately in response to mouse events,
|
| // so they don't need to cause any repaint or layout.
|
|
|
| @@ -667,21 +664,6 @@ bool RenderStyle::diffNeedsRepaintObject(const RenderStyle& other) const
|
| return false;
|
| }
|
|
|
| -bool RenderStyle::diffNeedsRecompositeLayer(const RenderStyle& other) const
|
| -{
|
| - if (rareNonInheritedData.get() != other.rareNonInheritedData.get()) {
|
| - if (rareNonInheritedData->m_transformStyle3D != other.rareNonInheritedData->m_transformStyle3D
|
| - || rareNonInheritedData->m_backfaceVisibility != other.rareNonInheritedData->m_backfaceVisibility
|
| - || rareNonInheritedData->m_perspective != other.rareNonInheritedData->m_perspective
|
| - || rareNonInheritedData->m_perspectiveOriginX != other.rareNonInheritedData->m_perspectiveOriginX
|
| - || rareNonInheritedData->m_perspectiveOriginY != other.rareNonInheritedData->m_perspectiveOriginY
|
| - || hasWillChangeCompositingHint() != other.hasWillChangeCompositingHint())
|
| - return true;
|
| - }
|
| -
|
| - return false;
|
| -}
|
| -
|
| unsigned RenderStyle::computeChangedContextSensitiveProperties(const RenderStyle& other, StyleDifference diff) const
|
| {
|
| unsigned changedContextSensitiveProperties = ContextSensitivePropertyNone;
|
|
|