| Index: Source/core/layout/compositing/CompositingLayerAssigner.cpp
|
| diff --git a/Source/core/layout/compositing/CompositingLayerAssigner.cpp b/Source/core/layout/compositing/CompositingLayerAssigner.cpp
|
| index 41f6ec04dd4da7e1b709d8ee99d5ee4d3a0e8f56..145a2ad17526d81b95e89a38228869509bef859b 100644
|
| --- a/Source/core/layout/compositing/CompositingLayerAssigner.cpp
|
| +++ b/Source/core/layout/compositing/CompositingLayerAssigner.cpp
|
| @@ -130,8 +130,8 @@ 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() || squashingLayer.renderer()->isRenderPart())
|
| - return CompositingReasonSquashingRenderPartIsDisallowed;
|
| + if (layer->renderer()->isLayoutPart() || squashingLayer.renderer()->isLayoutPart())
|
| + return CompositingReasonSquashingLayoutPartIsDisallowed;
|
|
|
| if (layer->reflectionInfo())
|
| return CompositingReasonSquashingReflectionIsDisallowed;
|
|
|