| 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..204044d2871ba0cb898eedf1bbf14f1d057b4cb7 100644
|
| --- a/third_party/WebKit/Source/core/dom/DOMMatrix.cpp
|
| +++ b/third_party/WebKit/Source/core/dom/DOMMatrix.cpp
|
| @@ -124,17 +124,12 @@ 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::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,
|
| +DOMMatrix* DOMMatrix::scaleSelf(double sx, double sy, double sz,
|
| double ox, double oy, double oz)
|
| {
|
| if (sz != 1 || oz)
|
| @@ -159,6 +154,11 @@ DOMMatrix* DOMMatrix::scaleNonUniformSelf(double sx, double sy, double sz,
|
| 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);
|
|
|