| Index: Source/core/paint/SVGClipPainter.cpp
|
| diff --git a/Source/core/paint/SVGClipPainter.cpp b/Source/core/paint/SVGClipPainter.cpp
|
| index ec19fd9440a1561f7cd87c014135d1c18391dd2b..01c0de4125eace368d04eb0d1317f813b1e77a08 100644
|
| --- a/Source/core/paint/SVGClipPainter.cpp
|
| +++ b/Source/core/paint/SVGClipPainter.cpp
|
| @@ -100,17 +100,17 @@ void SVGClipPainter::postApplyStatefulResource(const LayoutObject& target, Graph
|
| switch (clipperState) {
|
| case ClipperAppliedPath:
|
| // Path-only clipping, no layers to restore but we need to emit an end to the clip path display item.
|
| - if (RuntimeEnabledFeatures::slimmingPaintEnabled()) {
|
| - if (!context->displayItemList()->displayItemConstructionIsDisabled()) {
|
| - if (context->displayItemList()->lastDisplayItemIsNoopBegin())
|
| - context->displayItemList()->removeLastDisplayItem();
|
| - else
|
| - context->displayItemList()->add(EndClipPathDisplayItem::create(target));
|
| - }
|
| - } else {
|
| - EndClipPathDisplayItem endClipPathDisplayItem(target);
|
| - endClipPathDisplayItem.replay(*context);
|
| - }
|
| + //if (RuntimeEnabledFeatures::slimmingPaintEnabled()) {
|
| + // if (!context->displayItemList()->displayItemConstructionIsDisabled()) {
|
| + // if (context->displayItemList()->lastDisplayItemIsNoopBegin())
|
| + // context->displayItemList()->removeLastDisplayItem();
|
| + // else
|
| + // context->displayItemList()->add(EndClipPathDisplayItem::create(target));
|
| + // }
|
| + //} else {
|
| + // EndClipPathDisplayItem endClipPathDisplayItem(target);
|
| + // endClipPathDisplayItem.replay(*context);
|
| + //}
|
| break;
|
| case ClipperAppliedMask:
|
| // Transfer content -> clip mask (SrcIn)
|
|
|