| Index: Source/core/rendering/compositing/RenderLayerCompositor.cpp
|
| diff --git a/Source/core/rendering/compositing/RenderLayerCompositor.cpp b/Source/core/rendering/compositing/RenderLayerCompositor.cpp
|
| index c61637c5a08d69bf4b14cd96ad7133fa64290d35..08635be22ba9dff98defd8d988f74abb1d4a637c 100644
|
| --- a/Source/core/rendering/compositing/RenderLayerCompositor.cpp
|
| +++ b/Source/core/rendering/compositing/RenderLayerCompositor.cpp
|
| @@ -658,8 +658,8 @@ bool RenderLayerCompositor::squashingWouldExceedSparsityTolerance(const RenderLa
|
| IntRect bounds = candidate->ancestorDependentProperties().clippedAbsoluteBoundingBox;
|
| IntRect newBoundingRect = squashingState.boundingRect;
|
| newBoundingRect.unite(bounds);
|
| - const uint64_t newBoundingRectArea = newBoundingRect.size().area_safe();
|
| - const uint64_t newSquashedArea = squashingState.totalAreaOfSquashedRects + bounds.size().area_safe();
|
| + const uint64_t newBoundingRectArea = newBoundingRect.size().area();
|
| + const uint64_t newSquashedArea = squashingState.totalAreaOfSquashedRects + bounds.size().area();
|
| return newBoundingRectArea > gSquashingSparsityTolerance * newSquashedArea;
|
| }
|
|
|
|
|