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

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

Issue 2387003002: [GeometryInterface] remove scaleNonUniform* method. (Closed)
Patch Set: modify test. 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 79c08a3de69c5d9d024dde0e10798fabd88eef45..417153726a91c2a9aa18fa161e96d302e7f5b3ee 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::skewX(double sx) {
return DOMMatrix::create(this)->skewXSelf(sx);
}

Powered by Google App Engine
This is Rietveld 408576698