| Index: Source/platform/graphics/paint/TransformDisplayItem.h
|
| diff --git a/Source/platform/graphics/paint/TransformDisplayItem.h b/Source/platform/graphics/paint/TransformDisplayItem.h
|
| index ebf36ac25c0e909c6b41265431b972d9160dec79..053c7ebef8245a1db9811d9762f08ccbce169620 100644
|
| --- a/Source/platform/graphics/paint/TransformDisplayItem.h
|
| +++ b/Source/platform/graphics/paint/TransformDisplayItem.h
|
| @@ -7,24 +7,18 @@
|
|
|
| #include "platform/graphics/paint/DisplayItem.h"
|
| #include "platform/transforms/AffineTransform.h"
|
| -#include "wtf/PassOwnPtr.h"
|
|
|
| namespace blink {
|
|
|
| class PLATFORM_EXPORT BeginTransformDisplayItem : public PairedBeginDisplayItem {
|
| - WTF_MAKE_FAST_ALLOCATED(BeginTransformDisplayItem);
|
| public:
|
| - static PassOwnPtr<BeginTransformDisplayItem> create(const DisplayItemClientWrapper& client, const AffineTransform& transform)
|
| - {
|
| - return adoptPtr(new BeginTransformDisplayItem(client, transform));
|
| - }
|
| -
|
| BeginTransformDisplayItem(const DisplayItemClientWrapper& client, const AffineTransform& transform)
|
| : PairedBeginDisplayItem(client, BeginTransform)
|
| , m_transform(transform) { }
|
|
|
| virtual void replay(GraphicsContext&) override;
|
| virtual void appendToWebDisplayItemList(WebDisplayItemList*) const override;
|
| + void appendByMoving(DisplayItems&) override;
|
|
|
| private:
|
| #ifndef NDEBUG
|
| @@ -35,18 +29,13 @@ private:
|
| };
|
|
|
| class PLATFORM_EXPORT EndTransformDisplayItem : public PairedEndDisplayItem {
|
| - WTF_MAKE_FAST_ALLOCATED(EndTransformDisplayItem);
|
| public:
|
| - static PassOwnPtr<EndTransformDisplayItem> create(const DisplayItemClientWrapper& client)
|
| - {
|
| - return adoptPtr(new EndTransformDisplayItem(client));
|
| - }
|
| -
|
| EndTransformDisplayItem(const DisplayItemClientWrapper& client)
|
| : PairedEndDisplayItem(client, EndTransform) { }
|
|
|
| virtual void replay(GraphicsContext&) override;
|
| virtual void appendToWebDisplayItemList(WebDisplayItemList*) const override;
|
| + void appendByMoving(DisplayItems&) override;
|
|
|
| private:
|
| #if ENABLE(ASSERT)
|
|
|