| Index: Source/core/paint/Transform3DRecorder.cpp
|
| diff --git a/Source/core/paint/Transform3DRecorder.cpp b/Source/core/paint/Transform3DRecorder.cpp
|
| index be8b29e39adbd0ad8bf6b656f75bd5cda1d3833c..7a7780950a63eb17bb779bc884318e804bbbc247 100644
|
| --- a/Source/core/paint/Transform3DRecorder.cpp
|
| +++ b/Source/core/paint/Transform3DRecorder.cpp
|
| @@ -23,13 +23,13 @@ Transform3DRecorder::Transform3DRecorder(GraphicsContext& context, const Display
|
| if (m_skipRecordingForIdentityTransform)
|
| return;
|
|
|
| + BeginTransform3DDisplayItem beginTransform(m_client, m_type, transform);
|
| if (RuntimeEnabledFeatures::slimmingPaintEnabled()) {
|
| ASSERT(m_context.displayItemList());
|
| if (m_context.displayItemList()->displayItemConstructionIsDisabled())
|
| return;
|
| - m_context.displayItemList()->add(BeginTransform3DDisplayItem::create(m_client, m_type, transform));
|
| + m_context.displayItemList()->add(beginTransform);
|
| } else {
|
| - BeginTransform3DDisplayItem beginTransform(m_client, m_type, transform);
|
| beginTransform.replay(m_context);
|
| }
|
| }
|
| @@ -40,13 +40,13 @@ Transform3DRecorder::~Transform3DRecorder()
|
| return;
|
|
|
| DisplayItem::Type endType = DisplayItem::transform3DTypeToEndTransform3DType(m_type);
|
| + EndTransform3DDisplayItem endTransform(m_client, endType);
|
| if (RuntimeEnabledFeatures::slimmingPaintEnabled()) {
|
| ASSERT(m_context.displayItemList());
|
| if (m_context.displayItemList()->displayItemConstructionIsDisabled())
|
| return;
|
| - m_context.displayItemList()->add(EndTransform3DDisplayItem::create(m_client, endType));
|
| + m_context.displayItemList()->add(endTransform);
|
| } else {
|
| - EndTransform3DDisplayItem endTransform(m_client, endType);
|
| endTransform.replay(m_context);
|
| }
|
| }
|
|
|