| Index: third_party/WebKit/Source/platform/graphics/paint/ClipRecorder.cpp
|
| diff --git a/third_party/WebKit/Source/platform/graphics/paint/ClipRecorder.cpp b/third_party/WebKit/Source/platform/graphics/paint/ClipRecorder.cpp
|
| index 841154cc81df95f7e4df0579fa0e7f4030913d82..816996f4aa368e58ef3960e7db5c8a94452884f3 100644
|
| --- a/third_party/WebKit/Source/platform/graphics/paint/ClipRecorder.cpp
|
| +++ b/third_party/WebKit/Source/platform/graphics/paint/ClipRecorder.cpp
|
| @@ -7,7 +7,7 @@
|
|
|
| #include "platform/graphics/GraphicsContext.h"
|
| #include "platform/graphics/paint/ClipDisplayItem.h"
|
| -#include "platform/graphics/paint/DisplayItemList.h"
|
| +#include "platform/graphics/paint/PaintController.h"
|
|
|
| namespace blink {
|
|
|
| @@ -16,14 +16,14 @@ ClipRecorder::ClipRecorder(GraphicsContext& context, const DisplayItemClientWrap
|
| , m_context(context)
|
| , m_type(type)
|
| {
|
| - ASSERT(m_context.displayItemList());
|
| - m_context.displayItemList()->createAndAppend<ClipDisplayItem>(m_client, type, pixelSnappedIntRect(clipRect));
|
| + ASSERT(m_context.paintController());
|
| + m_context.paintController()->createAndAppend<ClipDisplayItem>(m_client, type, pixelSnappedIntRect(clipRect));
|
| }
|
|
|
| ClipRecorder::~ClipRecorder()
|
| {
|
| - ASSERT(m_context.displayItemList());
|
| - m_context.displayItemList()->endItem<EndClipDisplayItem>(m_client, DisplayItem::clipTypeToEndClipType(m_type));
|
| + ASSERT(m_context.paintController());
|
| + m_context.paintController()->endItem<EndClipDisplayItem>(m_client, DisplayItem::clipTypeToEndClipType(m_type));
|
| }
|
|
|
| } // namespace blink
|
|
|