| 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 45e234d6d5aa8bd04ed335578ece92cde0576e7b..1bce4a352e0d7ffd8c068e84d1abed26c6fa3c86 100644
|
| --- a/third_party/WebKit/Source/core/dom/DOMMatrix.cpp
|
| +++ b/third_party/WebKit/Source/core/dom/DOMMatrix.cpp
|
| @@ -125,23 +125,16 @@ DOMMatrix* DOMMatrix::translateSelf(double tx, double ty, double tz) {
|
| return this;
|
| }
|
|
|
| -DOMMatrix* DOMMatrix::scaleSelf(double scale, double ox, double oy) {
|
| - return scaleNonUniformSelf(scale, scale, 1, ox, oy);
|
| +DOMMatrix* DOMMatrix::scaleSelf(double sx) {
|
| + return scaleSelf(sx, sx);
|
| }
|
|
|
| -DOMMatrix* DOMMatrix::scale3dSelf(double scale,
|
| - double ox,
|
| - double oy,
|
| - double oz) {
|
| - return scaleNonUniformSelf(scale, scale, scale, ox, oy, oz);
|
| -}
|
| -
|
| -DOMMatrix* DOMMatrix::scaleNonUniformSelf(double sx,
|
| - double sy,
|
| - double sz,
|
| - double ox,
|
| - double oy,
|
| - double oz) {
|
| +DOMMatrix* DOMMatrix::scaleSelf(double sx,
|
| + double sy,
|
| + double sz,
|
| + double ox,
|
| + double oy,
|
| + double oz) {
|
| if (sz != 1 || oz)
|
| m_is2D = false;
|
|
|
| @@ -164,6 +157,13 @@ DOMMatrix* DOMMatrix::scaleNonUniformSelf(double sx,
|
| return this;
|
| }
|
|
|
| +DOMMatrix* DOMMatrix::scale3dSelf(double scale,
|
| + double ox,
|
| + double oy,
|
| + double oz) {
|
| + return scaleSelf(scale, scale, scale, ox, oy, oz);
|
| +}
|
| +
|
| DOMMatrix* DOMMatrix::skewXSelf(double sx) {
|
| m_matrix->skewX(sx);
|
| return this;
|
|
|