| Index: Source/platform/graphics/paint/ClipPathRecorder.cpp
|
| diff --git a/Source/platform/graphics/paint/ClipPathRecorder.cpp b/Source/platform/graphics/paint/ClipPathRecorder.cpp
|
| index 0107ddcafe430d52f6779e03bfe43ded5c14d45e..86febf93191f42a360d93a9ab3a47e0b99f44d89 100644
|
| --- a/Source/platform/graphics/paint/ClipPathRecorder.cpp
|
| +++ b/Source/platform/graphics/paint/ClipPathRecorder.cpp
|
| @@ -20,7 +20,7 @@ ClipPathRecorder::ClipPathRecorder(GraphicsContext& context, const DisplayItemCl
|
| ASSERT(m_context.displayItemList());
|
| if (m_context.displayItemList()->displayItemConstructionIsDisabled())
|
| return;
|
| - m_context.displayItemList()->add(BeginClipPathDisplayItem::create(m_client, clipPath));
|
| + m_context.displayItemList()->createAndAppend<BeginClipPathDisplayItem>(m_client, clipPath);
|
| } else {
|
| BeginClipPathDisplayItem clipPathDisplayItem(m_client, clipPath);
|
| clipPathDisplayItem.replay(m_context);
|
| @@ -35,7 +35,7 @@ ClipPathRecorder::~ClipPathRecorder()
|
| if (m_context.displayItemList()->lastDisplayItemIsNoopBegin())
|
| m_context.displayItemList()->removeLastDisplayItem();
|
| else
|
| - m_context.displayItemList()->add(EndClipPathDisplayItem::create(m_client));
|
| + m_context.displayItemList()->createAndAppend<EndClipPathDisplayItem>(m_client);
|
| }
|
| } else {
|
| EndClipPathDisplayItem endClipPathDisplayItem(m_client);
|
|
|