| Index: third_party/WebKit/Source/platform/graphics/paint/ClipPathDisplayItem.h
|
| diff --git a/third_party/WebKit/Source/platform/graphics/paint/ClipPathDisplayItem.h b/third_party/WebKit/Source/platform/graphics/paint/ClipPathDisplayItem.h
|
| index 721b1ee5b7f6fc467dbb2221b10ccb9e37681398..caf25f307be6bb926f7f5e6468816503b62a97d1 100644
|
| --- a/third_party/WebKit/Source/platform/graphics/paint/ClipPathDisplayItem.h
|
| +++ b/third_party/WebKit/Source/platform/graphics/paint/ClipPathDisplayItem.h
|
| @@ -12,10 +12,10 @@
|
|
|
| namespace blink {
|
|
|
| -class PLATFORM_EXPORT BeginClipPathDisplayItem final : public PairedBeginDisplayItem {
|
| +class PLATFORM_EXPORT BeginClipPathDisplayItem final : public PairedBeginDisplayItem<BeginClipPathDisplayItem> {
|
| public:
|
| BeginClipPathDisplayItem(const DisplayItemClient& client, const Path& clipPath)
|
| - : PairedBeginDisplayItem(client, BeginClipPath, sizeof(*this))
|
| + : PairedBeginDisplayItem(client, BeginClipPath)
|
| , m_clipPath(clipPath.getSkPath()) { }
|
|
|
| void replay(GraphicsContext&) const override;
|
| @@ -37,10 +37,10 @@ private:
|
| #endif
|
| };
|
|
|
| -class PLATFORM_EXPORT EndClipPathDisplayItem final : public PairedEndDisplayItem {
|
| +class PLATFORM_EXPORT EndClipPathDisplayItem final : public PairedEndDisplayItem<EndClipPathDisplayItem> {
|
| public:
|
| EndClipPathDisplayItem(const DisplayItemClient& client)
|
| - : PairedEndDisplayItem(client, EndClipPath, sizeof(*this)) { }
|
| + : PairedEndDisplayItem(client, EndClipPath) { }
|
|
|
| void replay(GraphicsContext&) const override;
|
| void appendToWebDisplayItemList(const IntRect&, WebDisplayItemList*) const override;
|
|
|