Index: Source/core/paint/SVGClipPainter.cpp |
diff --git a/Source/core/paint/SVGClipPainter.cpp b/Source/core/paint/SVGClipPainter.cpp |
index ec19fd9440a1561f7cd87c014135d1c18391dd2b..30dcf4a0a54045e9383a205a4821b59eb4f63e7c 100644 |
--- a/Source/core/paint/SVGClipPainter.cpp |
+++ b/Source/core/paint/SVGClipPainter.cpp |
@@ -105,7 +105,7 @@ void SVGClipPainter::postApplyStatefulResource(const LayoutObject& target, Graph |
if (context->displayItemList()->lastDisplayItemIsNoopBegin()) |
context->displayItemList()->removeLastDisplayItem(); |
else |
- context->displayItemList()->add(EndClipPathDisplayItem::create(target)); |
+ context->displayItemList()->createAndAppend<EndClipPathDisplayItem>(target); |
} |
} else { |
EndClipPathDisplayItem endClipPathDisplayItem(target); |