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

Unified Diff: Source/platform/graphics/paint/ClipPathDisplayItem.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
Index: Source/platform/graphics/paint/ClipPathDisplayItem.h
diff --git a/Source/platform/graphics/paint/ClipPathDisplayItem.h b/Source/platform/graphics/paint/ClipPathDisplayItem.h
index 23238873bad2711d33a550c99e3b3c282511c4d5..21166591875464e2f04c80d9a51689daf36660f7 100644
--- a/Source/platform/graphics/paint/ClipPathDisplayItem.h
+++ b/Source/platform/graphics/paint/ClipPathDisplayItem.h
@@ -14,13 +14,7 @@
namespace blink {
class PLATFORM_EXPORT BeginClipPathDisplayItem : public PairedBeginDisplayItem {
- WTF_MAKE_FAST_ALLOCATED(BeginClipPathDisplayItem);
public:
- static PassOwnPtr<BeginClipPathDisplayItem> create(const DisplayItemClientWrapper& client, const Path& clipPath)
- {
- return adoptPtr(new BeginClipPathDisplayItem(client, clipPath));
- }
-
BeginClipPathDisplayItem(const DisplayItemClientWrapper& client, const Path& clipPath)
: PairedBeginDisplayItem(client, BeginClipPath)
, m_clipPath(clipPath.skPath()) { }
@@ -36,13 +30,7 @@ private:
};
class PLATFORM_EXPORT EndClipPathDisplayItem : public PairedEndDisplayItem {
- WTF_MAKE_FAST_ALLOCATED(EndClipPathDisplayItem);
public:
- static PassOwnPtr<EndClipPathDisplayItem> create(const DisplayItemClientWrapper& client)
- {
- return adoptPtr(new EndClipPathDisplayItem(client));
- }
-
EndClipPathDisplayItem(const DisplayItemClientWrapper& client)
: PairedEndDisplayItem(client, EndClipPath) { }
« no previous file with comments | « Source/platform/graphics/paint/ClipDisplayItem.h ('k') | Source/platform/graphics/paint/ClipPathRecorder.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698