| Index: sky/engine/core/rendering/RenderObject.cpp
|
| diff --git a/sky/engine/core/rendering/RenderObject.cpp b/sky/engine/core/rendering/RenderObject.cpp
|
| index 9d4fefe82a6def0d68c0a967895120994c2e68bf..596e71a0e1124c7fb7fa12da8c86e6e40b739e2f 100644
|
| --- a/sky/engine/core/rendering/RenderObject.cpp
|
| +++ b/sky/engine/core/rendering/RenderObject.cpp
|
| @@ -1199,18 +1199,6 @@ void RenderObject::selectionStartEnd(int& spos, int& epos) const
|
|
|
| StyleDifference RenderObject::adjustStyleDifference(StyleDifference diff) const
|
| {
|
| - // If transform, opacity or zIndex changed, then we need to invalidate paints.
|
| - // Text nodes share style with their parents but transform/opacity/z-index don't apply to them,
|
| - if (!isText() &&
|
| - (diff.transformChanged() || diff.opacityChanged() || diff.zIndexChanged())) {
|
| - diff.setNeedsPaintInvalidation();
|
| - }
|
| -
|
| - // If filter changed and it paints with filters, then we need to invalidate paints.
|
| - if (diff.filterChanged() && hasLayer()) {
|
| - diff.setNeedsPaintInvalidation();
|
| - }
|
| -
|
| // The answer to layerTypeRequired() for plugins, iframes, and canvas can change without the actual
|
| // style changing, since it depends on whether we decide to composite these elements. When the
|
| // layer status of one of these elements changes, we need to force a layout.
|
|
|