| Index: Source/core/rendering/RenderObject.cpp
|
| diff --git a/Source/core/rendering/RenderObject.cpp b/Source/core/rendering/RenderObject.cpp
|
| index 0ef0b5d75a682024a5ce7755584c99deb26c84d9..04b0ea30c5637bf7b9dfd7855cf90fc73d273b7e 100644
|
| --- a/Source/core/rendering/RenderObject.cpp
|
| +++ b/Source/core/rendering/RenderObject.cpp
|
| @@ -1868,16 +1868,15 @@ StyleDifference RenderObject::adjustStyleDifference(StyleDifference diff, unsign
|
| diff.setNeedsRecompositeLayer();
|
| }
|
|
|
| - // If opacity or zIndex changed, and the layer does not paint into its own separate backing, then we need to repaint (also
|
| + // If opacity or filters changed, and the layer does not paint into its own separate backing, then we need to repaint (also
|
| // ignoring text nodes)
|
| - if ((contextSensitiveProperties & (ContextSensitivePropertyOpacity | ContextSensitivePropertyZIndex)) && !diff.needsLayout()) {
|
| + if (contextSensitiveProperties & ContextSensitivePropertyOpacity && !diff.needsLayout()) {
|
| if (!isText() && (!hasLayer() || !toRenderLayerModelObject(this)->layer()->hasDirectReasonsForCompositing()))
|
| diff.setNeedsRepaintLayer();
|
| else
|
| diff.setNeedsRecompositeLayer();
|
| }
|
|
|
| - // If filter changed, and the layer does not paint into its own separate backing or it paints with filters, then we need to repaint.
|
| if ((contextSensitiveProperties & ContextSensitivePropertyFilter) && hasLayer() && !diff.needsLayout()) {
|
| RenderLayer* layer = toRenderLayerModelObject(this)->layer();
|
| if (!layer->hasDirectReasonsForCompositing() || layer->paintsWithFilters())
|
|
|