Chromium Code Reviews| Index: Source/platform/transforms/RotateTransformOperation.h |
| diff --git a/Source/platform/transforms/RotateTransformOperation.h b/Source/platform/transforms/RotateTransformOperation.h |
| index 9f6f22fba3b95ab1a1f753730de0c58a0c47dc4d..9d4722615c3da5de040221a6290fec5c6a2d626f 100644 |
| --- a/Source/platform/transforms/RotateTransformOperation.h |
| +++ b/Source/platform/transforms/RotateTransformOperation.h |
| @@ -41,6 +41,11 @@ public: |
| return adoptRef(new RotateTransformOperation(x, y, z, angle, type)); |
| } |
| + static PassRefPtr<RotateTransformOperation> create(PassRefPtr<RotateTransformOperation> o) |
|
Timothy Loh
2015/06/05 00:56:00
unused?
soonm
2015/06/10 04:09:32
Removed
|
| + { |
| + return adoptRef(new RotateTransformOperation(*o)); |
| + } |
| + |
| double x() const { return m_x; } |
| double y() const { return m_y; } |
| double z() const { return m_z; } |
| @@ -78,6 +83,15 @@ private: |
| ASSERT(type == RotateX || type == RotateY || type == RotateZ || type == Rotate3D); |
| } |
| + RotateTransformOperation(const RotateTransformOperation& o) |
|
Timothy Loh
2015/06/05 00:56:00
unused?
soonm
2015/06/10 04:09:32
Removed
|
| + : m_x(o.m_x) |
| + , m_y(o.m_y) |
| + , m_z(o.m_z) |
| + , m_angle(o.m_angle) |
| + , m_type(o.m_type) |
| + { |
| + }; |
| + |
| double m_x; |
| double m_y; |
| double m_z; |