Index: third_party/WebKit/Source/core/dom/DOMMatrix.cpp |
diff --git a/third_party/WebKit/Source/core/dom/DOMMatrix.cpp b/third_party/WebKit/Source/core/dom/DOMMatrix.cpp |
index de14957fd2e6b3909b7afadc109e2fbde2207782..731b6f0aedd16e297d8a82d034da7e40ab184885 100644 |
--- a/third_party/WebKit/Source/core/dom/DOMMatrix.cpp |
+++ b/third_party/WebKit/Source/core/dom/DOMMatrix.cpp |
@@ -66,10 +66,8 @@ template <typename T> |
DOMMatrix::DOMMatrix(T sequence, int size) |
: DOMMatrixReadOnly(sequence, size) {} |
-DOMMatrix::DOMMatrix(const TransformationMatrix& matrix, bool is2D) { |
- m_matrix = TransformationMatrix::create(matrix); |
- m_is2D = is2D; |
-} |
+DOMMatrix::DOMMatrix(const TransformationMatrix& matrix, bool is2D) |
+ : DOMMatrixReadOnly(matrix, is2D) {} |
DOMMatrix* DOMMatrix::fromMatrix(DOMMatrixInit& other, |
ExceptionState& exceptionState) { |