| Index: Source/platform/graphics/paint/DisplayItemList.h
|
| diff --git a/Source/platform/graphics/paint/DisplayItemList.h b/Source/platform/graphics/paint/DisplayItemList.h
|
| index b154bda9bad26771a827f50b0fdf25a8e85f500a..4126bece86a415ad7c2062eeffd2a1dac7dd2a49 100644
|
| --- a/Source/platform/graphics/paint/DisplayItemList.h
|
| +++ b/Source/platform/graphics/paint/DisplayItemList.h
|
| @@ -134,9 +134,9 @@ public:
|
| bool displayItemConstructionIsDisabled() const { return m_constructionDisabled; }
|
| void setDisplayItemConstructionIsDisabled(const bool disable) { m_constructionDisabled = disable; }
|
|
|
| -#if ENABLE(ASSERT)
|
| - size_t newDisplayItemsSize() const { return m_newDisplayItems.size(); }
|
| -#endif
|
| + // Returns displayItems added using createAndAppend() since beginning or the last
|
| + // commitNewDisplayItems(). Use with care.
|
| + DisplayItems& newDisplayItems() { return m_newDisplayItems; }
|
|
|
| #ifndef NDEBUG
|
| void showDebugData() const;
|
| @@ -169,12 +169,6 @@ protected:
|
| , m_nextScope(1) { }
|
|
|
| private:
|
| - friend class DisplayItemListTest;
|
| - friend class DisplayItemListPaintTest;
|
| - friend class DisplayItemListPaintTestForSlimmingPaintV2;
|
| - friend class LayoutObjectDrawingRecorderTest;
|
| - friend class LayoutObjectDrawingRecorderTestForSlimmingPaintV2;
|
| -
|
| // Set new item state (scopes, cache skipping, etc) for a new item.
|
| void processNewItem(DisplayItem&);
|
|
|
|
|