Index: third_party/WebKit/Source/core/paint/LayerClipRecorder.cpp |
diff --git a/third_party/WebKit/Source/core/paint/LayerClipRecorder.cpp b/third_party/WebKit/Source/core/paint/LayerClipRecorder.cpp |
index 91579e115d12a3deda7b665b45e508225181d8ac..809ca486d3bbd548a59e4864de8ee735030829f2 100644 |
--- a/third_party/WebKit/Source/core/paint/LayerClipRecorder.cpp |
+++ b/third_party/WebKit/Source/core/paint/LayerClipRecorder.cpp |
@@ -12,7 +12,7 @@ |
#include "platform/graphics/GraphicsContext.h" |
#include "platform/graphics/GraphicsLayer.h" |
#include "platform/graphics/paint/ClipRecorder.h" |
-#include "platform/graphics/paint/DisplayItemList.h" |
+#include "platform/graphics/paint/PaintController.h" |
namespace blink { |
@@ -28,8 +28,8 @@ LayerClipRecorder::LayerClipRecorder(GraphicsContext& graphicsContext, const Lay |
collectRoundedRectClips(*layoutObject.layer(), *localPaintingInfo, graphicsContext, fragmentOffset, paintFlags, rule, roundedRects); |
} |
- ASSERT(m_graphicsContext.displayItemList()); |
- m_graphicsContext.displayItemList()->createAndAppend<ClipDisplayItem>(layoutObject, m_clipType, snappedClipRect, roundedRects); |
+ ASSERT(m_graphicsContext.paintController()); |
+ m_graphicsContext.paintController()->createAndAppend<ClipDisplayItem>(layoutObject, m_clipType, snappedClipRect, roundedRects); |
} |
static bool inContainingBlockChain(PaintLayer* startLayer, PaintLayer* endLayer) |
@@ -73,8 +73,8 @@ void LayerClipRecorder::collectRoundedRectClips(PaintLayer& paintLayer, const Pa |
LayerClipRecorder::~LayerClipRecorder() |
{ |
- ASSERT(m_graphicsContext.displayItemList()); |
- m_graphicsContext.displayItemList()->endItem<EndClipDisplayItem>(m_layoutObject, DisplayItem::clipTypeToEndClipType(m_clipType)); |
+ ASSERT(m_graphicsContext.paintController()); |
+ m_graphicsContext.paintController()->endItem<EndClipDisplayItem>(m_layoutObject, DisplayItem::clipTypeToEndClipType(m_clipType)); |
} |
} // namespace blink |