| Index: third_party/WebKit/Source/platform/graphics/paint/DisplayItemList.h
|
| diff --git a/third_party/WebKit/Source/platform/graphics/paint/DisplayItemList.h b/third_party/WebKit/Source/platform/graphics/paint/DisplayItemList.h
|
| index d1c1a69b7bb3894ae9843d3ee901d48ec25b6720..5f151141eb8539009a74536411d23571e708dad3 100644
|
| --- a/third_party/WebKit/Source/platform/graphics/paint/DisplayItemList.h
|
| +++ b/third_party/WebKit/Source/platform/graphics/paint/DisplayItemList.h
|
| @@ -60,6 +60,8 @@ class PLATFORM_EXPORT DisplayItemList {
|
| WTF_MAKE_NONCOPYABLE(DisplayItemList);
|
| WTF_MAKE_FAST_ALLOCATED(DisplayItemList);
|
| public:
|
| + // TODO(pdr): With PaintArtifact, this class does not need to be heap
|
| + // allocated. We should refactor callers to use the constructor directly.
|
| static PassOwnPtr<DisplayItemList> create()
|
| {
|
| return adoptPtr(new DisplayItemList());
|
| @@ -190,7 +192,6 @@ public:
|
| m_clientsCheckedPaintInvalidation.add(client);
|
| }
|
|
|
| -protected:
|
| DisplayItemList()
|
| : m_currentDisplayItems(0)
|
| , m_newDisplayItems(kInitialDisplayItemsCapacity * kMaximumDisplayItemSize)
|
|
|