| Index: Source/core/paint/TransformRecorder.cpp
|
| diff --git a/Source/core/paint/TransformRecorder.cpp b/Source/core/paint/TransformRecorder.cpp
|
| index fb96a941228b0fbed9bb6c0919fb17b6c7d08ed9..369fd1628a212f27eec46fa3e599859f9c9aa791 100644
|
| --- a/Source/core/paint/TransformRecorder.cpp
|
| +++ b/Source/core/paint/TransformRecorder.cpp
|
| @@ -21,13 +21,13 @@ TransformRecorder::TransformRecorder(GraphicsContext& context, const DisplayItem
|
| if (m_skipRecordingForIdentityTransform)
|
| return;
|
|
|
| + BeginTransformDisplayItem beginTransform(m_client, transform);
|
| if (RuntimeEnabledFeatures::slimmingPaintEnabled()) {
|
| ASSERT(m_context.displayItemList());
|
| if (m_context.displayItemList()->displayItemConstructionIsDisabled())
|
| return;
|
| - m_context.displayItemList()->add(BeginTransformDisplayItem::create(m_client, transform));
|
| + m_context.displayItemList()->add(beginTransform);
|
| } else {
|
| - BeginTransformDisplayItem beginTransform(m_client, transform);
|
| beginTransform.replay(m_context);
|
| }
|
| }
|
| @@ -37,13 +37,13 @@ TransformRecorder::~TransformRecorder()
|
| if (m_skipRecordingForIdentityTransform)
|
| return;
|
|
|
| + EndTransformDisplayItem endTransform(m_client);
|
| if (RuntimeEnabledFeatures::slimmingPaintEnabled()) {
|
| ASSERT(m_context.displayItemList());
|
| if (m_context.displayItemList()->displayItemConstructionIsDisabled())
|
| return;
|
| - m_context.displayItemList()->add(EndTransformDisplayItem::create(m_client));
|
| + m_context.displayItemList()->add(endTransform);
|
| } else {
|
| - EndTransformDisplayItem endTransform(m_client);
|
| endTransform.replay(m_context);
|
| }
|
| }
|
|
|