Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1788)

Unified Diff: Source/platform/graphics/paint/TransformDisplayItem.h

Issue 1193433004: Blink-side contiguous allocation of display items. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Add ListContainer::AllocateAndConstructWithArguments and a TODO in DisplayItemList::findMatchingIte… Created 5 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « Source/platform/graphics/paint/Transform3DDisplayItem.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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..e16f5c78246805c6976e72299a1d2684683ae0a6 100644
--- a/Source/platform/graphics/paint/TransformDisplayItem.h
+++ b/Source/platform/graphics/paint/TransformDisplayItem.h
@@ -12,13 +12,7 @@
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) { }
@@ -35,13 +29,7 @@ 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) { }
« no previous file with comments | « Source/platform/graphics/paint/Transform3DDisplayItem.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698