Index: Source/platform/graphics/paint/DrawingRecorder.cpp |
diff --git a/Source/platform/graphics/paint/DrawingRecorder.cpp b/Source/platform/graphics/paint/DrawingRecorder.cpp |
index 3d9887588f8b162107d3bd085ed33ba00d1c0eb2..94b5da5690f851e1db5e30f3d681d5ef4481b626 100644 |
--- a/Source/platform/graphics/paint/DrawingRecorder.cpp |
+++ b/Source/platform/graphics/paint/DrawingRecorder.cpp |
@@ -37,7 +37,7 @@ DrawingRecorder::DrawingRecorder(GraphicsContext& context, const DisplayItemClie |
, m_displayItemClient(displayItemClient) |
, m_displayItemType(displayItemType) |
#if ENABLE(ASSERT) |
- , m_displayItemPosition(RuntimeEnabledFeatures::slimmingPaintEnabled() ? m_context.displayItemList()->newDisplayItemsSize() : 0) |
+ , m_displayItemPosition(RuntimeEnabledFeatures::slimmingPaintEnabled() ? m_context.displayItemList()->newDisplayItems().size() : 0) |
, m_underInvalidationCheckingMode(DrawingDisplayItem::CheckPicture) |
#endif |
{ |
@@ -91,7 +91,7 @@ DrawingRecorder::~DrawingRecorder() |
m_context.restore(); |
m_context.setInDrawingRecorder(false); |
- ASSERT(m_displayItemPosition == m_context.displayItemList()->newDisplayItemsSize()); |
+ ASSERT(m_displayItemPosition == m_context.displayItemList()->newDisplayItems().size()); |
#endif |
m_context.displayItemList()->createAndAppend<DrawingDisplayItem>(m_displayItemClient |