| Index: third_party/WebKit/Source/platform/graphics/paint/FloatClipDisplayItem.h
|
| diff --git a/third_party/WebKit/Source/platform/graphics/paint/FloatClipDisplayItem.h b/third_party/WebKit/Source/platform/graphics/paint/FloatClipDisplayItem.h
|
| index b6275a15ba5cd8870092cc4b59bb129a44125e54..116eaf93b8d63828f6d3c7bb845bc1081af01306 100644
|
| --- a/third_party/WebKit/Source/platform/graphics/paint/FloatClipDisplayItem.h
|
| +++ b/third_party/WebKit/Source/platform/graphics/paint/FloatClipDisplayItem.h
|
| @@ -13,10 +13,10 @@ namespace blink {
|
|
|
| class RoundedRect;
|
|
|
| -class PLATFORM_EXPORT FloatClipDisplayItem final : public PairedBeginDisplayItem {
|
| +class PLATFORM_EXPORT FloatClipDisplayItem final : public PairedBeginDisplayItem<FloatClipDisplayItem> {
|
| public:
|
| FloatClipDisplayItem(const DisplayItemClient& client, Type type, const FloatRect& clipRect)
|
| - : PairedBeginDisplayItem(client, type, sizeof(*this))
|
| + : PairedBeginDisplayItem(client, type)
|
| , m_clipRect(clipRect)
|
| {
|
| ASSERT(isFloatClipType(type));
|
| @@ -40,10 +40,10 @@ private:
|
| const FloatRect m_clipRect;
|
| };
|
|
|
| -class PLATFORM_EXPORT EndFloatClipDisplayItem final : public PairedEndDisplayItem {
|
| +class PLATFORM_EXPORT EndFloatClipDisplayItem final : public PairedEndDisplayItem<EndFloatClipDisplayItem> {
|
| public:
|
| EndFloatClipDisplayItem(const DisplayItemClient& client, Type type)
|
| - : PairedEndDisplayItem(client, type, sizeof(*this))
|
| + : PairedEndDisplayItem(client, type)
|
| {
|
| ASSERT(isEndFloatClipType(type));
|
| }
|
|
|