| Index: Source/core/paint/TransformRecorder.cpp
|
| diff --git a/Source/core/paint/TransformRecorder.cpp b/Source/core/paint/TransformRecorder.cpp
|
| index 587f8c99cd549ca24e6fd2bf25b5d216bd1b7963..62a6b68e93ac4116ebd659548f366a22c65ffe6e 100644
|
| --- a/Source/core/paint/TransformRecorder.cpp
|
| +++ b/Source/core/paint/TransformRecorder.cpp
|
| @@ -25,7 +25,7 @@ TransformRecorder::TransformRecorder(GraphicsContext& context, const DisplayItem
|
| ASSERT(m_context.displayItemList());
|
| if (m_context.displayItemList()->displayItemConstructionIsDisabled())
|
| return;
|
| - m_context.displayItemList()->add(BeginTransformDisplayItem::create(m_client, transform));
|
| + m_context.displayItemList()->createAndAppend<BeginTransformDisplayItem>(m_client, transform);
|
| } else {
|
| BeginTransformDisplayItem beginTransform(m_client, transform);
|
| beginTransform.replay(m_context);
|
| @@ -43,7 +43,7 @@ TransformRecorder::~TransformRecorder()
|
| if (m_context.displayItemList()->lastDisplayItemIsNoopBegin())
|
| m_context.displayItemList()->removeLastDisplayItem();
|
| else
|
| - m_context.displayItemList()->add(EndTransformDisplayItem::create(m_client));
|
| + m_context.displayItemList()->createAndAppend<EndTransformDisplayItem>(m_client);
|
| }
|
| } else {
|
| EndTransformDisplayItem endTransform(m_client);
|
|
|