Index: Source/platform/graphics/paint/Transform3DDisplayItem.h |
diff --git a/Source/platform/graphics/paint/Transform3DDisplayItem.h b/Source/platform/graphics/paint/Transform3DDisplayItem.h |
index e9ef6bf7718bd3fa7c69f942396121db6f47f31e..9015a8a2276377814d7e99b48f67e8987b470464 100644 |
--- a/Source/platform/graphics/paint/Transform3DDisplayItem.h |
+++ b/Source/platform/graphics/paint/Transform3DDisplayItem.h |
@@ -13,14 +13,8 @@ |
namespace blink { |
class PLATFORM_EXPORT BeginTransform3DDisplayItem : public PairedBeginDisplayItem { |
- WTF_MAKE_FAST_ALLOCATED(BeginTransform3DDisplayItem); |
public: |
- static PassOwnPtr<BeginTransform3DDisplayItem> create(const DisplayItemClientWrapper& client, DisplayItem::Type type, const TransformationMatrix& transform) |
- { |
- return adoptPtr(new BeginTransform3DDisplayItem(client, type, transform)); |
- } |
- |
- BeginTransform3DDisplayItem(const DisplayItemClientWrapper& client, DisplayItem::Type type, const TransformationMatrix& transform) |
+ BeginTransform3DDisplayItem(const DisplayItemClientWrapper& client, Type type, const TransformationMatrix& transform) |
: PairedBeginDisplayItem(client, type) |
, m_transform(transform) |
{ |
@@ -37,14 +31,8 @@ private: |
}; |
class PLATFORM_EXPORT EndTransform3DDisplayItem : public PairedEndDisplayItem { |
- WTF_MAKE_FAST_ALLOCATED(EndTransform3DDisplayItem); |
public: |
- static PassOwnPtr<EndTransform3DDisplayItem> create(const DisplayItemClientWrapper& client, DisplayItem::Type type) |
- { |
- return adoptPtr(new EndTransform3DDisplayItem(client, type)); |
- } |
- |
- EndTransform3DDisplayItem(const DisplayItemClientWrapper& client, DisplayItem::Type type) |
+ EndTransform3DDisplayItem(const DisplayItemClientWrapper& client, Type type) |
: PairedEndDisplayItem(client, type) |
{ |
ASSERT(DisplayItem::isEndTransform3DType(type)); |