Index: third_party/WebKit/Source/platform/graphics/paint/ClipPathRecorder.cpp |
diff --git a/third_party/WebKit/Source/platform/graphics/paint/ClipPathRecorder.cpp b/third_party/WebKit/Source/platform/graphics/paint/ClipPathRecorder.cpp |
index c2ea498bbe353390a9558ae11a138102f65ee47d..8af92f108dc7cc732663093c74360223e69442b0 100644 |
--- a/third_party/WebKit/Source/platform/graphics/paint/ClipPathRecorder.cpp |
+++ b/third_party/WebKit/Source/platform/graphics/paint/ClipPathRecorder.cpp |
@@ -7,7 +7,7 @@ |
#include "platform/graphics/GraphicsContext.h" |
#include "platform/graphics/paint/ClipPathDisplayItem.h" |
-#include "platform/graphics/paint/DisplayItemList.h" |
+#include "platform/graphics/paint/PaintController.h" |
namespace blink { |
@@ -15,14 +15,14 @@ ClipPathRecorder::ClipPathRecorder(GraphicsContext& context, const DisplayItemCl |
: m_context(context) |
, m_client(client) |
{ |
- ASSERT(m_context.displayItemList()); |
- m_context.displayItemList()->createAndAppend<BeginClipPathDisplayItem>(m_client, clipPath); |
+ ASSERT(m_context.paintController()); |
+ m_context.paintController()->createAndAppend<BeginClipPathDisplayItem>(m_client, clipPath); |
} |
ClipPathRecorder::~ClipPathRecorder() |
{ |
- ASSERT(m_context.displayItemList()); |
- m_context.displayItemList()->endItem<EndClipPathDisplayItem>(m_client); |
+ ASSERT(m_context.paintController()); |
+ m_context.paintController()->endItem<EndClipPathDisplayItem>(m_client); |
} |
} // namespace blink |