| Index: third_party/WebKit/Source/platform/graphics/paint/ScrollDisplayItem.h
|
| diff --git a/third_party/WebKit/Source/platform/graphics/paint/ScrollDisplayItem.h b/third_party/WebKit/Source/platform/graphics/paint/ScrollDisplayItem.h
|
| index f8b0e541278ad65c1ebafbd91d1efcac10a052e4..5c1b2d0045b6c5ba7de82fda9a32aa3b4baebb93 100644
|
| --- a/third_party/WebKit/Source/platform/graphics/paint/ScrollDisplayItem.h
|
| +++ b/third_party/WebKit/Source/platform/graphics/paint/ScrollDisplayItem.h
|
| @@ -11,10 +11,10 @@
|
|
|
| namespace blink {
|
|
|
| -class PLATFORM_EXPORT BeginScrollDisplayItem final : public PairedBeginDisplayItem {
|
| +class PLATFORM_EXPORT BeginScrollDisplayItem final : public PairedBeginDisplayItem<BeginScrollDisplayItem> {
|
| public:
|
| BeginScrollDisplayItem(const DisplayItemClient& client, Type type, const IntSize& currentOffset)
|
| - : PairedBeginDisplayItem(client, type, sizeof(*this))
|
| + : PairedBeginDisplayItem(client, type)
|
| , m_currentOffset(currentOffset)
|
| {
|
| ASSERT(isScrollType(type));
|
| @@ -40,10 +40,10 @@ private:
|
| const IntSize m_currentOffset;
|
| };
|
|
|
| -class PLATFORM_EXPORT EndScrollDisplayItem final : public PairedEndDisplayItem {
|
| +class PLATFORM_EXPORT EndScrollDisplayItem final : public PairedEndDisplayItem<EndScrollDisplayItem> {
|
| public:
|
| EndScrollDisplayItem(const DisplayItemClient& client, Type type)
|
| - : PairedEndDisplayItem(client, type, sizeof(*this))
|
| + : PairedEndDisplayItem(client, type)
|
| {
|
| ASSERT(isEndScrollType(type));
|
| }
|
|
|