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

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

Issue 504623003: Implement skew*() methods in DOMMatrix. Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 6 years, 4 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
« no previous file with comments | « Source/core/dom/DOMMatrixReadOnly.h ('k') | Source/core/dom/DOMMatrixReadOnly.idl » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/dom/DOMMatrixReadOnly.cpp
diff --git a/Source/core/dom/DOMMatrixReadOnly.cpp b/Source/core/dom/DOMMatrixReadOnly.cpp
index 45250069b99bdf370a0e1f30e4554c794222c4fe..38f8344d64ce65ea2ec06e2c0f25ec3a532ef43e 100644
--- a/Source/core/dom/DOMMatrixReadOnly.cpp
+++ b/Source/core/dom/DOMMatrixReadOnly.cpp
@@ -82,4 +82,14 @@ DOMMatrix* DOMMatrixReadOnly::rotateAxisAngle(double x, double y, double z, doub
return DOMMatrix::create(this)->rotateAxisAngleSelf(x, y, z, angle);
}
+DOMMatrix* DOMMatrixReadOnly::skewX(double sx)
+{
+ return DOMMatrix::create(this)->skewXSelf(sx);
+}
+
+DOMMatrix* DOMMatrixReadOnly::skewY(double sy)
+{
+ return DOMMatrix::create(this)->skewYSelf(sy);
+}
+
} // namespace blink
« no previous file with comments | « Source/core/dom/DOMMatrixReadOnly.h ('k') | Source/core/dom/DOMMatrixReadOnly.idl » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698