| Index: third_party/WebKit/Source/core/paint/FloatClipRecorder.cpp
|
| diff --git a/third_party/WebKit/Source/core/paint/FloatClipRecorder.cpp b/third_party/WebKit/Source/core/paint/FloatClipRecorder.cpp
|
| index 5e534edb62fdbff0f0a47330f35325ebabe3c603..1c2cc1674b607487edc9c60895e3ed9101d1ce73 100644
|
| --- a/third_party/WebKit/Source/core/paint/FloatClipRecorder.cpp
|
| +++ b/third_party/WebKit/Source/core/paint/FloatClipRecorder.cpp
|
| @@ -6,8 +6,8 @@
|
| #include "core/paint/FloatClipRecorder.h"
|
|
|
| #include "platform/graphics/GraphicsContext.h"
|
| -#include "platform/graphics/paint/DisplayItemList.h"
|
| #include "platform/graphics/paint/FloatClipDisplayItem.h"
|
| +#include "platform/graphics/paint/PaintController.h"
|
|
|
| namespace blink {
|
|
|
| @@ -16,15 +16,15 @@ FloatClipRecorder::FloatClipRecorder(GraphicsContext& context, const DisplayItem
|
| , m_client(client)
|
| , m_clipType(DisplayItem::paintPhaseToFloatClipType(paintPhase))
|
| {
|
| - ASSERT(m_context.displayItemList());
|
| - m_context.displayItemList()->createAndAppend<FloatClipDisplayItem>(m_client, m_clipType, clipRect);
|
| + ASSERT(m_context.paintController());
|
| + m_context.paintController()->createAndAppend<FloatClipDisplayItem>(m_client, m_clipType, clipRect);
|
| }
|
|
|
| FloatClipRecorder::~FloatClipRecorder()
|
| {
|
| DisplayItem::Type endType = DisplayItem::floatClipTypeToEndFloatClipType(m_clipType);
|
| - ASSERT(m_context.displayItemList());
|
| - m_context.displayItemList()->endItem<EndFloatClipDisplayItem>(m_client, endType);
|
| + ASSERT(m_context.paintController());
|
| + m_context.paintController()->endItem<EndFloatClipDisplayItem>(m_client, endType);
|
| }
|
|
|
| } // namespace blink
|
|
|