| Index: third_party/WebKit/Source/core/paint/SVGClipPainter.cpp
|
| diff --git a/third_party/WebKit/Source/core/paint/SVGClipPainter.cpp b/third_party/WebKit/Source/core/paint/SVGClipPainter.cpp
|
| index 5738e22891a0124cf2e0a4ee99bb0ba6fe2e916e..31cf20c055d0feabb9036b7b9bb19629aab32398 100644
|
| --- a/third_party/WebKit/Source/core/paint/SVGClipPainter.cpp
|
| +++ b/third_party/WebKit/Source/core/paint/SVGClipPainter.cpp
|
| @@ -15,8 +15,8 @@
|
| #include "core/paint/TransformRecorder.h"
|
| #include "platform/graphics/paint/ClipPathDisplayItem.h"
|
| #include "platform/graphics/paint/CompositingDisplayItem.h"
|
| -#include "platform/graphics/paint/DisplayItemList.h"
|
| #include "platform/graphics/paint/DrawingDisplayItem.h"
|
| +#include "platform/graphics/paint/PaintController.h"
|
|
|
| namespace blink {
|
|
|
| @@ -59,8 +59,8 @@ bool SVGClipPainter::prepareEffect(const LayoutObject& target, const FloatRect&
|
| Path clipPath;
|
| if (m_clip.asPath(animatedLocalTransform, targetBoundingBox, clipPath)) {
|
| clipperState = ClipperAppliedPath;
|
| - ASSERT(context->displayItemList());
|
| - context->displayItemList()->createAndAppend<BeginClipPathDisplayItem>(target, clipPath);
|
| + ASSERT(context->paintController());
|
| + context->paintController()->createAndAppend<BeginClipPathDisplayItem>(target, clipPath);
|
| return true;
|
| }
|
|
|
| @@ -99,8 +99,8 @@ void SVGClipPainter::finishEffect(const LayoutObject& target, GraphicsContext* c
|
| switch (clipperState) {
|
| case ClipperAppliedPath:
|
| // Path-only clipping, no layers to restore but we need to emit an end to the clip path display item.
|
| - ASSERT(context->displayItemList());
|
| - context->displayItemList()->endItem<EndClipPathDisplayItem>(target);
|
| + ASSERT(context->paintController());
|
| + context->paintController()->endItem<EndClipPathDisplayItem>(target);
|
| break;
|
| case ClipperAppliedMask:
|
| // Transfer content -> clip mask (SrcIn)
|
|
|