Index: Source/core/dom/DOMMatrixReadOnly.cpp |
diff --git a/Source/core/dom/DOMMatrixReadOnly.cpp b/Source/core/dom/DOMMatrixReadOnly.cpp |
index 887e75fa11d33f6e28a95ce6cd9b86bc1ddceb4e..8e1eeac9a469dabdbc6d14811da50d96910a2cf1 100644 |
--- a/Source/core/dom/DOMMatrixReadOnly.cpp |
+++ b/Source/core/dom/DOMMatrixReadOnly.cpp |
@@ -20,4 +20,20 @@ bool DOMMatrixReadOnly::isIdentity() const |
&& m14() == 0 && m24() == 0 && m34() == 0 && m44() == 1; |
} |
+DOMMatrix* DOMMatrixReadOnly::scale(double scale, double ox, double oy) |
+{ |
+ return DOMMatrix::create(this)->scaleSelf(scale, ox, oy); |
+} |
+ |
+DOMMatrix* DOMMatrixReadOnly::scale3d(double scale, double ox, double oy, double oz) |
+{ |
+ 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); |
+} |
+ |
} // namespace blink |