Index: Source/platform/graphics/paint/Transform3DDisplayItem.cpp |
diff --git a/Source/platform/graphics/paint/Transform3DDisplayItem.cpp b/Source/platform/graphics/paint/Transform3DDisplayItem.cpp |
index 0cc06bb5673cd9d6d23ac7ea2e74a69a45ab6081..2c2dca8b98a2505ba89f6ccc494466724e919fbb 100644 |
--- a/Source/platform/graphics/paint/Transform3DDisplayItem.cpp |
+++ b/Source/platform/graphics/paint/Transform3DDisplayItem.cpp |
@@ -6,6 +6,7 @@ |
#include "platform/graphics/paint/Transform3DDisplayItem.h" |
#include "platform/graphics/GraphicsContext.h" |
+#include "platform/graphics/paint/DisplayItems.h" |
#include "platform/transforms/AffineTransform.h" |
#include "public/platform/WebDisplayItemList.h" |
@@ -22,6 +23,12 @@ void BeginTransform3DDisplayItem::appendToWebDisplayItemList(WebDisplayItemList* |
list->appendTransformItem(TransformationMatrix::toSkMatrix44(m_transform)); |
} |
+void BeginTransform3DDisplayItem::appendByMoving(DisplayItems& destination) |
+{ |
+ destination.emplaceBack<BeginTransform3DDisplayItem>( |
+ DisplayItemClientWrapperHelper(*this), type(), m_transform); |
+} |
+ |
void EndTransform3DDisplayItem::replay(GraphicsContext& context) |
{ |
context.restore(); |
@@ -32,4 +39,10 @@ void EndTransform3DDisplayItem::appendToWebDisplayItemList(WebDisplayItemList* l |
list->appendEndTransformItem(); |
} |
+void EndTransform3DDisplayItem::appendByMoving(DisplayItems& destination) |
+{ |
+ destination.emplaceBack<EndTransform3DDisplayItem>( |
+ DisplayItemClientWrapperHelper(*this), type()); |
+} |
+ |
} // namespace blink |