Index: third_party/WebKit/Source/core/dom/DOMMatrixReadOnly.cpp |
diff --git a/third_party/WebKit/Source/core/dom/DOMMatrixReadOnly.cpp b/third_party/WebKit/Source/core/dom/DOMMatrixReadOnly.cpp |
index a5ae1e94e1b14838acb81cc5a990c15110ec9565..7cf081eecea7c77028b720eef25e99c27d7ed05e 100644 |
--- a/third_party/WebKit/Source/core/dom/DOMMatrixReadOnly.cpp |
+++ b/third_party/WebKit/Source/core/dom/DOMMatrixReadOnly.cpp |
@@ -153,8 +153,17 @@ DOMMatrix* DOMMatrixReadOnly::translate(double tx, double ty, double tz) { |
return DOMMatrix::create(this)->translateSelf(tx, ty, tz); |
} |
-DOMMatrix* DOMMatrixReadOnly::scale(double scale, double ox, double oy) { |
- return DOMMatrix::create(this)->scaleSelf(scale, ox, oy); |
+DOMMatrix* DOMMatrixReadOnly::scale(double sx) { |
+ return scale(sx, sx); |
+} |
+ |
+DOMMatrix* DOMMatrixReadOnly::scale(double sx, |
+ double sy, |
+ double sz, |
+ double ox, |
+ double oy, |
+ double oz) { |
+ return DOMMatrix::create(this)->scaleSelf(sx, sy, sz, ox, oy, oz); |
} |
DOMMatrix* DOMMatrixReadOnly::scale3d(double scale, |
@@ -164,15 +173,6 @@ DOMMatrix* DOMMatrixReadOnly::scale3d(double scale, |
return DOMMatrix::create(this)->scale3dSelf(scale, ox, oy, oz); |
} |
-DOMMatrix* DOMMatrixReadOnly::scaleNonUniform(double sx, |
- double sy, |
- double sz, |
- double ox, |
- double oy, |
- double oz) { |
- return DOMMatrix::create(this)->scaleNonUniformSelf(sx, sy, sz, ox, oy, oz); |
-} |
- |
DOMMatrix* DOMMatrixReadOnly::rotateAxisAngle(double x, |
double y, |
double z, |