| Index: Source/core/rendering/compositing/CompositingLayerAssigner.cpp
|
| diff --git a/Source/core/rendering/compositing/CompositingLayerAssigner.cpp b/Source/core/rendering/compositing/CompositingLayerAssigner.cpp
|
| index 1c4089d6d3ed22f3c8542cf4396ec81f80fa34eb..6f47fe36b881ed44701c6ac532dfbcb2cf160265 100644
|
| --- a/Source/core/rendering/compositing/CompositingLayerAssigner.cpp
|
| +++ b/Source/core/rendering/compositing/CompositingLayerAssigner.cpp
|
| @@ -134,7 +134,10 @@ CompositingReasons CompositingLayerAssigner::getReasonsPreventingSquashing(const
|
| // Don't squash iframes, frames or plugins.
|
| // FIXME: this is only necessary because there is frame code that assumes that composited frames are not squashed.
|
| if (layer->renderer()->isRenderPart())
|
| - return CompositedReasonSquashingRenderPart;
|
| + return CompositingReasonSquashingRenderPartIsDisallowed;
|
| +
|
| + if (layer->reflectionInfo())
|
| + return CompositingReasonSquashingReflectionIsDisallowed;
|
|
|
| if (squashingWouldExceedSparsityTolerance(layer, squashingState))
|
| return CompositingReasonSquashingSparsityExceeded;
|
|
|