Index: Source/core/dom/DOMMatrixReadOnly.cpp |
diff --git a/Source/core/dom/DOMMatrixReadOnly.cpp b/Source/core/dom/DOMMatrixReadOnly.cpp |
index 8148ac0cbcc383a7ea3e6fbbc5d6ad46ea24756b..45250069b99bdf370a0e1f30e4554c794222c4fe 100644 |
--- a/Source/core/dom/DOMMatrixReadOnly.cpp |
+++ b/Source/core/dom/DOMMatrixReadOnly.cpp |
@@ -67,4 +67,19 @@ PassRefPtr<Float64Array> DOMMatrixReadOnly::toFloat64Array() const |
return Float64Array::create(array, 16); |
} |
+DOMMatrix* DOMMatrixReadOnly::rotate(double angle, double ox, double oy) |
+{ |
+ return DOMMatrix::create(this)->rotateSelf(angle, ox, oy); |
+} |
+ |
+DOMMatrix* DOMMatrixReadOnly::rotateFromVector(double x, double y) |
+{ |
+ return DOMMatrix::create(this)->rotateFromVectorSelf(x, y); |
+} |
+ |
+DOMMatrix* DOMMatrixReadOnly::rotateAxisAngle(double x, double y, double z, double angle) |
+{ |
+ return DOMMatrix::create(this)->rotateAxisAngleSelf(x, y, z, angle); |
+} |
+ |
} // namespace blink |