Index: Source/core/dom/DOMMatrixReadOnly.cpp |
diff --git a/Source/core/dom/DOMMatrixReadOnly.cpp b/Source/core/dom/DOMMatrixReadOnly.cpp |
index 38f8344d64ce65ea2ec06e2c0f25ec3a532ef43e..9c4508076fe0cdf8bdd866dab9b7ae7def38a67e 100644 |
--- a/Source/core/dom/DOMMatrixReadOnly.cpp |
+++ b/Source/core/dom/DOMMatrixReadOnly.cpp |
@@ -92,4 +92,14 @@ DOMMatrix* DOMMatrixReadOnly::skewY(double sy) |
return DOMMatrix::create(this)->skewYSelf(sy); |
} |
+DOMMatrix* DOMMatrixReadOnly::flipX() |
+{ |
+ return scaleNonUniform(-1); |
+} |
+ |
+DOMMatrix* DOMMatrixReadOnly::flipY() |
+{ |
+ return scaleNonUniform(1, -1); |
+} |
+ |
} // namespace blink |