| Index: Source/platform/graphics/paint/ClipPathDisplayItem.cpp
|
| diff --git a/Source/platform/graphics/paint/ClipPathDisplayItem.cpp b/Source/platform/graphics/paint/ClipPathDisplayItem.cpp
|
| index ca5b03852ba1d1e35c5e1def6e32105b15f3decb..ba2cea3ec95a7afdf175e7fcd5194ebbfca7995b 100644
|
| --- a/Source/platform/graphics/paint/ClipPathDisplayItem.cpp
|
| +++ b/Source/platform/graphics/paint/ClipPathDisplayItem.cpp
|
| @@ -7,6 +7,7 @@
|
|
|
| #include "platform/graphics/GraphicsContext.h"
|
| #include "platform/graphics/Path.h"
|
| +#include "platform/graphics/paint/DisplayItems.h"
|
| #include "public/platform/WebDisplayItemList.h"
|
| #include "third_party/skia/include/core/SkScalar.h"
|
|
|
| @@ -23,6 +24,12 @@ void BeginClipPathDisplayItem::appendToWebDisplayItemList(WebDisplayItemList* li
|
| list->appendClipPathItem(m_clipPath, SkRegion::kIntersect_Op, true);
|
| }
|
|
|
| +void BeginClipPathDisplayItem::appendByMoving(DisplayItems& destination)
|
| +{
|
| + destination.emplaceBack<BeginClipPathDisplayItem>(
|
| + DisplayItemClientWrapperHelper(*this), m_clipPath);
|
| +}
|
| +
|
| void EndClipPathDisplayItem::replay(GraphicsContext& context)
|
| {
|
| context.restore();
|
| @@ -33,6 +40,12 @@ void EndClipPathDisplayItem::appendToWebDisplayItemList(WebDisplayItemList* list
|
| list->appendEndClipPathItem();
|
| }
|
|
|
| +void EndClipPathDisplayItem::appendByMoving(DisplayItems& destination)
|
| +{
|
| + destination.emplaceBack<EndClipPathDisplayItem>(
|
| + DisplayItemClientWrapperHelper(*this));
|
| +}
|
| +
|
| #ifndef NDEBUG
|
| void BeginClipPathDisplayItem::dumpPropertiesAsDebugString(WTF::StringBuilder& stringBuilder) const
|
| {
|
|
|