| Index: Source/core/layout/LayoutTable.cpp
|
| diff --git a/Source/core/layout/LayoutTable.cpp b/Source/core/layout/LayoutTable.cpp
|
| index da3ff14dfada3c142f76b33514eda5183e582e57..c648b09746806a2c80cbcf973cd1b394cd9715f6 100644
|
| --- a/Source/core/layout/LayoutTable.cpp
|
| +++ b/Source/core/layout/LayoutTable.cpp
|
| @@ -1397,6 +1397,14 @@ PaintInvalidationReason LayoutTable::invalidatePaintIfNeeded(PaintInvalidationSt
|
| return LayoutBlock::invalidatePaintIfNeeded(paintInvalidationState, paintInvalidationContainer);
|
| }
|
|
|
| +PaintInvalidationReason LayoutTable::invalidatePaintIfNeededForSlimmingPaintV2(const LayoutPoint& newPaintOffset)
|
| +{
|
| + // Information of collapsed borders doesn't affect layout and are for painting only.
|
| + // Do it now instead of during painting to invalidate table cells if needed.
|
| + recalcCollapsedBordersIfNeeded();
|
| + return LayoutBlock::invalidatePaintIfNeededForSlimmingPaintV2(newPaintOffset);
|
| +}
|
| +
|
| void LayoutTable::invalidatePaintOfSubtreesIfNeeded(PaintInvalidationState& childPaintInvalidationState)
|
| {
|
| if (RuntimeEnabledFeatures::slimmingPaintEnabled()) {
|
|
|