Chromium Code Reviews| Index: third_party/WebKit/Source/core/dom/DOMMatrix.cpp |
| diff --git a/third_party/WebKit/Source/core/dom/DOMMatrix.cpp b/third_party/WebKit/Source/core/dom/DOMMatrix.cpp |
| index 73b06db27656b1b7df481c31cff78eef31af37ca..7fca76e95b1180814b242858ba7f0f7fd35d768f 100644 |
| --- a/third_party/WebKit/Source/core/dom/DOMMatrix.cpp |
| +++ b/third_party/WebKit/Source/core/dom/DOMMatrix.cpp |
| @@ -124,9 +124,15 @@ DOMMatrix* DOMMatrix::translateSelf(double tx, double ty, double tz) |
| return this; |
| } |
| -DOMMatrix* DOMMatrix::scaleSelf(double scale, double ox, double oy) |
| +DOMMatrix* DOMMatrix::scaleSelf(double sx) |
| { |
| - return scaleNonUniformSelf(scale, scale, 1, ox, oy); |
| + return scaleSelf(sx, sx); |
| +} |
| + |
| +DOMMatrix* DOMMatrix::scaleSelf(double sx, double sy, double sz, |
| + double ox, double oy, double oz) |
| +{ |
| + return scaleNonUniformSelf(sx, sy, sz, ox, oy, oz); |
|
zino
2016/10/04 14:24:09
Why did you leave this sacleNonUniformSelf functio
Hwanseung Lee
2016/10/04 22:21:53
scale*, scale3d* method can use scaleNonUniformSe
|
| } |
| DOMMatrix* DOMMatrix::scale3dSelf(double scale, double ox, double oy, double oz) |