| Index: Source/platform/transforms/TranslateTransformOperation.h
|
| diff --git a/Source/platform/transforms/TranslateTransformOperation.h b/Source/platform/transforms/TranslateTransformOperation.h
|
| index 67c2aeea9dd94ec8b906e31e6e4eece287b522b4..7f29c125562c1f9ac5975e9a78cb911412273239 100644
|
| --- a/Source/platform/transforms/TranslateTransformOperation.h
|
| +++ b/Source/platform/transforms/TranslateTransformOperation.h
|
| @@ -31,7 +31,7 @@
|
|
|
| namespace blink {
|
|
|
| -class PLATFORM_EXPORT TranslateTransformOperation : public TransformOperation {
|
| +class PLATFORM_EXPORT TranslateTransformOperation final : public TransformOperation {
|
| public:
|
| static PassRefPtr<TranslateTransformOperation> create(const Length& tx, const Length& ty, OperationType type)
|
| {
|
| @@ -51,8 +51,6 @@ public:
|
| Length x() const { return m_x; }
|
| Length y() const { return m_y; }
|
| double z() const { return m_z; }
|
| -
|
| -private:
|
| virtual OperationType type() const override { return m_type; }
|
|
|
| virtual bool operator==(const TransformOperation& o) const override
|
| @@ -63,6 +61,7 @@ private:
|
| return m_x == t->m_x && m_y == t->m_y && m_z == t->m_z;
|
| }
|
|
|
| +private:
|
| virtual void apply(TransformationMatrix& transform, const FloatSize& borderBoxSize) const override
|
| {
|
| transform.translate3d(x(borderBoxSize), y(borderBoxSize), z());
|
| @@ -90,6 +89,8 @@ private:
|
| OperationType m_type;
|
| };
|
|
|
| +DEFINE_TRANSFORM_TYPE_CASTS(TranslateTransformOperation, isTranslateTransformOperation());
|
| +
|
| } // namespace blink
|
|
|
| #endif // TranslateTransformOperation_h
|
|
|