Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(174)

Unified Diff: third_party/WebKit/Source/core/dom/DOMMatrixReadOnly.cpp

Issue 2387003002: [GeometryInterface] remove scaleNonUniform* method. (Closed)
Patch Set: rebase origin Created 4 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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,
« no previous file with comments | « third_party/WebKit/Source/core/dom/DOMMatrixReadOnly.h ('k') | third_party/WebKit/Source/core/dom/DOMMatrixReadOnly.idl » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698