| Index: Source/platform/transforms/ScaleTransformOperation.h
|
| diff --git a/Source/platform/transforms/ScaleTransformOperation.h b/Source/platform/transforms/ScaleTransformOperation.h
|
| index 8b6fde1e2cfb50e73f884730a5116389687e5d26..320501dc9e87765dcd731ce6c55bc728dd5a5052 100644
|
| --- a/Source/platform/transforms/ScaleTransformOperation.h
|
| +++ b/Source/platform/transforms/ScaleTransformOperation.h
|
| @@ -41,14 +41,18 @@ public:
|
| return adoptRef(new ScaleTransformOperation(sx, sy, sz, type));
|
| }
|
|
|
| + static PassRefPtr<ScaleTransformOperation> create(PassRefPtr<ScaleTransformOperation> o)
|
| + {
|
| + return adoptRef(new ScaleTransformOperation(*o));
|
| + }
|
| double x() const { return m_x; }
|
| double y() const { return m_y; }
|
| double z() const { return m_z; }
|
|
|
| virtual bool canBlendWith(const TransformOperation& other) const;
|
| + virtual OperationType type() const override { return m_type; }
|
|
|
| private:
|
| - virtual OperationType type() const override { return m_type; }
|
|
|
| virtual bool operator==(const TransformOperation& o) const override
|
| {
|
| @@ -74,6 +78,14 @@ private:
|
| ASSERT(type == ScaleX || type == ScaleY || type == ScaleZ || type == Scale || type == Scale3D);
|
| }
|
|
|
| + ScaleTransformOperation(const ScaleTransformOperation& o)
|
| + : m_x(o.m_x)
|
| + , m_y(o.m_y)
|
| + , m_z(o.m_z)
|
| + , m_type(o.m_type)
|
| + {
|
| + }
|
| +
|
| double m_x;
|
| double m_y;
|
| double m_z;
|
|
|