| Index: third_party/WebKit/Source/platform/graphics/paint/TransformDisplayItem.h
|
| diff --git a/third_party/WebKit/Source/platform/graphics/paint/TransformDisplayItem.h b/third_party/WebKit/Source/platform/graphics/paint/TransformDisplayItem.h
|
| index 185245856b9fca5c56ce3f6662cbb1b4a7fa91cf..c0b7b0c31c99836b086c456376ed2481b473b2ec 100644
|
| --- a/third_party/WebKit/Source/platform/graphics/paint/TransformDisplayItem.h
|
| +++ b/third_party/WebKit/Source/platform/graphics/paint/TransformDisplayItem.h
|
| @@ -10,10 +10,10 @@
|
|
|
| namespace blink {
|
|
|
| -class PLATFORM_EXPORT BeginTransformDisplayItem final : public PairedBeginDisplayItem {
|
| +class PLATFORM_EXPORT BeginTransformDisplayItem final : public PairedBeginDisplayItem<BeginTransformDisplayItem> {
|
| public:
|
| BeginTransformDisplayItem(const DisplayItemClient& client, const AffineTransform& transform)
|
| - : PairedBeginDisplayItem(client, BeginTransform, sizeof(*this))
|
| + : PairedBeginDisplayItem(client, BeginTransform)
|
| , m_transform(transform) { }
|
|
|
| void replay(GraphicsContext&) const override;
|
| @@ -36,10 +36,10 @@ private:
|
| const AffineTransform m_transform;
|
| };
|
|
|
| -class PLATFORM_EXPORT EndTransformDisplayItem final : public PairedEndDisplayItem {
|
| +class PLATFORM_EXPORT EndTransformDisplayItem final : public PairedEndDisplayItem<EndTransformDisplayItem> {
|
| public:
|
| EndTransformDisplayItem(const DisplayItemClient& client)
|
| - : PairedEndDisplayItem(client, EndTransform, sizeof(*this)) { }
|
| + : PairedEndDisplayItem(client, EndTransform) { }
|
|
|
| void replay(GraphicsContext&) const override;
|
| void appendToWebDisplayItemList(const IntRect&, WebDisplayItemList*) const override;
|
|
|