| Index: Source/core/layout/svg/LayoutSVGResourceClipper.cpp
|
| diff --git a/Source/core/layout/svg/LayoutSVGResourceClipper.cpp b/Source/core/layout/svg/LayoutSVGResourceClipper.cpp
|
| index 71d7acbedb40d7d782eb02f157048e53e621af5b..8335ff107408193d8abfb82bbd3cade6567b5545 100644
|
| --- a/Source/core/layout/svg/LayoutSVGResourceClipper.cpp
|
| +++ b/Source/core/layout/svg/LayoutSVGResourceClipper.cpp
|
| @@ -121,11 +121,11 @@ bool LayoutSVGResourceClipper::tryPathOnlyClipping(const LayoutObject& layoutObj
|
| // Transform path by animatedLocalTransform.
|
| clipPath.transform(animatedLocalTransform);
|
|
|
| + BeginClipPathDisplayItem clipPathDisplayItem(layoutObject, clipPath);
|
| if (RuntimeEnabledFeatures::slimmingPaintEnabled()) {
|
| if (!context->displayItemList()->displayItemConstructionIsDisabled())
|
| - context->displayItemList()->add(BeginClipPathDisplayItem::create(layoutObject, clipPath));
|
| + context->displayItemList()->add(clipPathDisplayItem);
|
| } else {
|
| - BeginClipPathDisplayItem clipPathDisplayItem(layoutObject, clipPath);
|
| clipPathDisplayItem.replay(*context);
|
| }
|
|
|
|
|