Index: Source/platform/graphics/paint/SubtreeDisplayItem.h |
diff --git a/Source/platform/graphics/paint/SubtreeDisplayItem.h b/Source/platform/graphics/paint/SubtreeDisplayItem.h |
index efddb5edab88a954e084b6139d750d0964461f53..e78d90628795df72412db22512eb26f656a433c4 100644 |
--- a/Source/platform/graphics/paint/SubtreeDisplayItem.h |
+++ b/Source/platform/graphics/paint/SubtreeDisplayItem.h |
@@ -12,14 +12,7 @@ |
namespace blink { |
class PLATFORM_EXPORT SubtreeCachedDisplayItem : public DisplayItem { |
- WTF_MAKE_FAST_ALLOCATED(SubtreeCachedDisplayItem); |
public: |
- static PassOwnPtr<SubtreeCachedDisplayItem> create(const DisplayItemClientWrapper& client, Type type) |
- { |
- return adoptPtr(new SubtreeCachedDisplayItem(client, type)); |
- } |
- |
-private: |
SubtreeCachedDisplayItem(const DisplayItemClientWrapper& client, Type type) |
: DisplayItem(client, type) |
{ |
@@ -31,14 +24,7 @@ private: |
}; |
class PLATFORM_EXPORT BeginSubtreeDisplayItem : public PairedBeginDisplayItem { |
- WTF_MAKE_FAST_ALLOCATED(BeginSubtreeDisplayItem); |
public: |
- static PassOwnPtr<BeginSubtreeDisplayItem> create(const DisplayItemClientWrapper& client, Type type) |
- { |
- return adoptPtr(new BeginSubtreeDisplayItem(client, type)); |
- } |
- |
-private: |
BeginSubtreeDisplayItem(const DisplayItemClientWrapper& client, Type type) |
: PairedBeginDisplayItem(client, type) |
{ |
@@ -47,14 +33,7 @@ private: |
}; |
class PLATFORM_EXPORT EndSubtreeDisplayItem : public PairedEndDisplayItem { |
- WTF_MAKE_FAST_ALLOCATED(EndSubtreeDisplayItem); |
public: |
- static PassOwnPtr<EndSubtreeDisplayItem> create(const DisplayItemClientWrapper& client, Type type) |
- { |
- return adoptPtr(new EndSubtreeDisplayItem(client, type)); |
- } |
- |
-private: |
EndSubtreeDisplayItem(const DisplayItemClientWrapper& client, Type type) |
: PairedEndDisplayItem(client, type) |
{ |