| Index: third_party/WebKit/Source/core/paint/ScrollRecorder.cpp
|
| diff --git a/third_party/WebKit/Source/core/paint/ScrollRecorder.cpp b/third_party/WebKit/Source/core/paint/ScrollRecorder.cpp
|
| index ad539ee2542e7f5eb2e01d6ab453f42ce593f17b..cb9ace74d19287cf1d4fa47b4cf8465209c6bd4e 100644
|
| --- a/third_party/WebKit/Source/core/paint/ScrollRecorder.cpp
|
| +++ b/third_party/WebKit/Source/core/paint/ScrollRecorder.cpp
|
| @@ -6,7 +6,7 @@
|
| #include "core/paint/ScrollRecorder.h"
|
|
|
| #include "platform/graphics/GraphicsContext.h"
|
| -#include "platform/graphics/paint/DisplayItemList.h"
|
| +#include "platform/graphics/paint/PaintController.h"
|
| #include "platform/graphics/paint/ScrollDisplayItem.h"
|
|
|
| namespace blink {
|
| @@ -16,14 +16,14 @@ ScrollRecorder::ScrollRecorder(GraphicsContext& context, const DisplayItemClient
|
| , m_beginItemType(DisplayItem::paintPhaseToScrollType(phase))
|
| , m_context(context)
|
| {
|
| - ASSERT(m_context.displayItemList());
|
| - m_context.displayItemList()->createAndAppend<BeginScrollDisplayItem>(m_client, m_beginItemType, currentOffset);
|
| + ASSERT(m_context.paintController());
|
| + m_context.paintController()->createAndAppend<BeginScrollDisplayItem>(m_client, m_beginItemType, currentOffset);
|
| }
|
|
|
| ScrollRecorder::~ScrollRecorder()
|
| {
|
| - ASSERT(m_context.displayItemList());
|
| - m_context.displayItemList()->endItem<EndScrollDisplayItem>(m_client, DisplayItem::scrollTypeToEndScrollType(m_beginItemType));
|
| + ASSERT(m_context.paintController());
|
| + m_context.paintController()->endItem<EndScrollDisplayItem>(m_client, DisplayItem::scrollTypeToEndScrollType(m_beginItemType));
|
| }
|
|
|
| } // namespace blink
|
|
|