| Index: Source/core/layout/svg/LayoutSVGResourceClipper.cpp
|
| diff --git a/Source/core/layout/svg/LayoutSVGResourceClipper.cpp b/Source/core/layout/svg/LayoutSVGResourceClipper.cpp
|
| index 1f2fc9d2defec15c5bf88c975af62560a346c102..56498b789ea68e3ce35dbf91777bd94915c74dd6 100644
|
| --- a/Source/core/layout/svg/LayoutSVGResourceClipper.cpp
|
| +++ b/Source/core/layout/svg/LayoutSVGResourceClipper.cpp
|
| @@ -143,13 +143,13 @@ bool LayoutSVGResourceClipper::tryPathOnlyClipping(const LayoutObject& layoutObj
|
| // Transform path by animatedLocalTransform.
|
| clipPath.transform(animatedLocalTransform);
|
|
|
| - if (RuntimeEnabledFeatures::slimmingPaintEnabled()) {
|
| - if (!context->displayItemList()->displayItemConstructionIsDisabled())
|
| - context->displayItemList()->add(BeginClipPathDisplayItem::create(layoutObject, clipPath));
|
| - } else {
|
| - BeginClipPathDisplayItem clipPathDisplayItem(layoutObject, clipPath);
|
| - clipPathDisplayItem.replay(*context);
|
| - }
|
| + //if (RuntimeEnabledFeatures::slimmingPaintEnabled()) {
|
| + // if (!context->displayItemList()->displayItemConstructionIsDisabled())
|
| + // context->displayItemList()->add(BeginClipPathDisplayItem::create(layoutObject, clipPath));
|
| + //} else {
|
| + // BeginClipPathDisplayItem clipPathDisplayItem(layoutObject, clipPath);
|
| + // clipPathDisplayItem.replay(*context);
|
| + //}
|
|
|
| return true;
|
| }
|
|
|