| Index: Source/core/rendering/compositing/RenderLayerCompositor.h
|
| diff --git a/Source/core/rendering/compositing/RenderLayerCompositor.h b/Source/core/rendering/compositing/RenderLayerCompositor.h
|
| index 194bb8517b70fd9d2c17200e219feccc56c9d61d..b5eeec4cdd8345749b1f7090817171c2bdeec832 100644
|
| --- a/Source/core/rendering/compositing/RenderLayerCompositor.h
|
| +++ b/Source/core/rendering/compositing/RenderLayerCompositor.h
|
| @@ -239,8 +239,14 @@ private:
|
|
|
| bool hasUnresolvedDirtyBits();
|
|
|
| + enum NeedsSquashingBehavior {
|
| + ShouldPaintIntoOwnLayer = 0,
|
| + ShouldSquash = 1,
|
| + ShouldPaintIntoSameLayer = 2
|
| + };
|
| +
|
| bool squashingWouldExceedSparsityTolerance(const RenderLayer* candidate, const SquashingState&);
|
| - bool canSquashIntoCurrentSquashingOwner(const RenderLayer* candidate, const SquashingState&);
|
| + NeedsSquashingBehavior computeSquashingBehaviorWhenSquashingRequired(const RenderLayer* candidate, const SquashingState&);
|
|
|
| CompositingStateTransitionType computeCompositedLayerUpdate(RenderLayer*);
|
| // Make updates to the layer based on viewport-constrained properties such as position:fixed. This can in turn affect
|
|
|