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

Unified Diff: Source/platform/graphics/paint/ScrollDisplayItem.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/ScrollDisplayItem.h
diff --git a/Source/platform/graphics/paint/ScrollDisplayItem.h b/Source/platform/graphics/paint/ScrollDisplayItem.h
index b3326608608d5d1f8b295d72bd5b2177d549b04a..7c16b6fe92e0e1021a9ffffdbd1a5f8f9a133b70 100644
--- a/Source/platform/graphics/paint/ScrollDisplayItem.h
+++ b/Source/platform/graphics/paint/ScrollDisplayItem.h
@@ -13,13 +13,7 @@
namespace blink {
class PLATFORM_EXPORT BeginScrollDisplayItem : public PairedBeginDisplayItem {
- WTF_MAKE_FAST_ALLOCATED(BeginScrollDisplayItem);
public:
- static PassOwnPtr<BeginScrollDisplayItem> create(const DisplayItemClientWrapper& client, Type type, const IntSize& currentOffset)
- {
- return adoptPtr(new BeginScrollDisplayItem(client, type, currentOffset));
- }
-
BeginScrollDisplayItem(const DisplayItemClientWrapper& client, Type type, const IntSize& currentOffset)
: PairedBeginDisplayItem(client, type)
, m_currentOffset(currentOffset)
@@ -39,13 +33,7 @@ private:
};
class PLATFORM_EXPORT EndScrollDisplayItem : public PairedEndDisplayItem {
- WTF_MAKE_FAST_ALLOCATED(EndScrollDisplayItem);
public:
- static PassOwnPtr<EndScrollDisplayItem> create(const DisplayItemClientWrapper& client, Type type)
- {
- return adoptPtr(new EndScrollDisplayItem(client, type));
- }
-
EndScrollDisplayItem(const DisplayItemClientWrapper& client, Type type)
: PairedEndDisplayItem(client, type)
{
« no previous file with comments | « Source/platform/graphics/paint/FloatClipDisplayItem.h ('k') | Source/platform/graphics/paint/SubtreeDisplayItem.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698