| Index: Source/platform/transforms/RotateTransformOperation.h
|
| diff --git a/Source/platform/transforms/RotateTransformOperation.h b/Source/platform/transforms/RotateTransformOperation.h
|
| index 9f6f22fba3b95ab1a1f753730de0c58a0c47dc4d..06d6ebff7a54932c8c24dc3b49137f0b972d9c48 100644
|
| --- a/Source/platform/transforms/RotateTransformOperation.h
|
| +++ b/Source/platform/transforms/RotateTransformOperation.h
|
| @@ -29,7 +29,7 @@
|
|
|
| namespace blink {
|
|
|
| -class PLATFORM_EXPORT RotateTransformOperation : public TransformOperation {
|
| +class PLATFORM_EXPORT RotateTransformOperation final : public TransformOperation {
|
| public:
|
| static PassRefPtr<RotateTransformOperation> create(double angle, OperationType type)
|
| {
|
| @@ -52,7 +52,6 @@ public:
|
| virtual bool canBlendWith(const TransformOperation& other) const;
|
| virtual OperationType type() const override { return m_type; }
|
|
|
| -private:
|
| virtual bool operator==(const TransformOperation& o) const override
|
| {
|
| if (!isSameType(o))
|
| @@ -61,6 +60,7 @@ private:
|
| return m_x == r->m_x && m_y == r->m_y && m_z == r->m_z && m_angle == r->m_angle;
|
| }
|
|
|
| +private:
|
| virtual void apply(TransformationMatrix& transform, const FloatSize& /*borderBoxSize*/) const override
|
| {
|
| transform.rotate3d(m_x, m_y, m_z, m_angle);
|
| @@ -85,6 +85,8 @@ private:
|
| OperationType m_type;
|
| };
|
|
|
| +DEFINE_TRANSFORM_TYPE_CASTS(RotateTransformOperation, isRotateTransformOperation());
|
| +
|
| } // namespace blink
|
|
|
| #endif // RotateTransformOperation_h
|
|
|