Chromium Code Reviews| Index: Source/platform/transforms/AffineTransform.h |
| diff --git a/Source/platform/transforms/AffineTransform.h b/Source/platform/transforms/AffineTransform.h |
| index 772653b7409ea3ddeee89ae91e6a92376eb07b64..179ac8e8fe197ce4643d8627ee7e61e6c6889f28 100644 |
| --- a/Source/platform/transforms/AffineTransform.h |
| +++ b/Source/platform/transforms/AffineTransform.h |
| @@ -156,6 +156,12 @@ public: |
| return AffineTransform(1, 0, 0, 1, x, y); |
| } |
| + AffineTransform& operator =(const AffineTransform &t) |
|
fs
2014/11/10 11:36:43
Hmm, why was this needed? Worrying about self-assi
|
| + { |
| + setMatrix(t.m_transform); |
| + return *this; |
| + } |
| + |
| // decompose the matrix into its component parts |
| typedef struct { |
| double scaleX, scaleY; |