| Index: third_party/WebKit/Source/platform/graphics/paint/ClipDisplayItem.h
|
| diff --git a/third_party/WebKit/Source/platform/graphics/paint/ClipDisplayItem.h b/third_party/WebKit/Source/platform/graphics/paint/ClipDisplayItem.h
|
| index de020e23af719b5f39c96d279d09bffbea2e02f8..6b14363ad68fbd3fe268f57f11c84138f42b048b 100644
|
| --- a/third_party/WebKit/Source/platform/graphics/paint/ClipDisplayItem.h
|
| +++ b/third_party/WebKit/Source/platform/graphics/paint/ClipDisplayItem.h
|
| @@ -14,10 +14,10 @@
|
|
|
| namespace blink {
|
|
|
| -class PLATFORM_EXPORT ClipDisplayItem final : public PairedBeginDisplayItem {
|
| +class PLATFORM_EXPORT ClipDisplayItem final : public PairedBeginDisplayItem<ClipDisplayItem> {
|
| public:
|
| ClipDisplayItem(const DisplayItemClient& client, Type type, const IntRect& clipRect)
|
| - : PairedBeginDisplayItem(client, type, sizeof(*this))
|
| + : PairedBeginDisplayItem(client, type)
|
| , m_clipRect(clipRect)
|
| {
|
| ASSERT(isClipType(type));
|
| @@ -49,10 +49,10 @@ private:
|
| Vector<FloatRoundedRect> m_roundedRectClips;
|
| };
|
|
|
| -class PLATFORM_EXPORT EndClipDisplayItem final : public PairedEndDisplayItem {
|
| +class PLATFORM_EXPORT EndClipDisplayItem final : public PairedEndDisplayItem<EndClipDisplayItem> {
|
| public:
|
| EndClipDisplayItem(const DisplayItemClient& client, Type type)
|
| - : PairedEndDisplayItem(client, type, sizeof(*this))
|
| + : PairedEndDisplayItem(client, type)
|
| {
|
| ASSERT(isEndClipType(type));
|
| }
|
|
|