Index: third_party/WebKit/Source/core/geometry/DOMMatrix.cpp |
diff --git a/third_party/WebKit/Source/core/geometry/DOMMatrix.cpp b/third_party/WebKit/Source/core/geometry/DOMMatrix.cpp |
index 3522b8e4c82e7a80c99f1616a9c17d585fd061ae..90c26cd2ebf476f19f130240e737bdedd679c3e6 100644 |
--- a/third_party/WebKit/Source/core/geometry/DOMMatrix.cpp |
+++ b/third_party/WebKit/Source/core/geometry/DOMMatrix.cpp |
@@ -6,6 +6,10 @@ |
namespace blink { |
+DOMMatrix* DOMMatrix::Create() { |
+ return new DOMMatrix(TransformationMatrix()); |
+} |
+ |
DOMMatrix* DOMMatrix::Create(ExecutionContext* execution_context, |
ExceptionState& exception_state) { |
return new DOMMatrix(TransformationMatrix()); |
@@ -139,6 +143,10 @@ DOMMatrix* DOMMatrix::multiplySelf(DOMMatrixInit& other, |
DCHECK(exception_state.HadException()); |
return nullptr; |
} |
+ return multiplySelf(other_matrix); |
+} |
+ |
+DOMMatrix* DOMMatrix::multiplySelf(DOMMatrix* other_matrix) { |
if (!other_matrix->is2D()) |
is2d_ = false; |