| Index: Source/core/rendering/compositing/CompositedLayerMapping.cpp
|
| diff --git a/Source/core/rendering/compositing/CompositedLayerMapping.cpp b/Source/core/rendering/compositing/CompositedLayerMapping.cpp
|
| index 9d6506a6c5f7cc039ceeded88001bd148ee899e5..f03f62614a7c6c6d19eca779878a3618ab8fa14f 100644
|
| --- a/Source/core/rendering/compositing/CompositedLayerMapping.cpp
|
| +++ b/Source/core/rendering/compositing/CompositedLayerMapping.cpp
|
| @@ -1273,7 +1273,7 @@ void CompositedLayerMapping::updateShouldFlattenTransform()
|
| {
|
| // All CLM-managed layers that could affect a descendant layer should update their
|
| // should-flatten-transform value (the other layers' transforms don't matter here).
|
| - UpdateShouldFlattenTransformFunctor functor = { m_owningLayer.shouldFlattenTransform() };
|
| + UpdateShouldFlattenTransformFunctor functor = { !m_owningLayer.shouldPreserve3D() };
|
| ApplyToGraphicsLayersMode mode = ApplyToCoreLayers;
|
| ApplyToGraphicsLayers(this, functor, mode);
|
| }
|
|
|