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 f5c727ae2d29ce89b0e96fdcfac7f88fa898353c..802ab17963d148fd2aba4ff7ffa03004b5cd24b2 100644 |
--- a/third_party/WebKit/Source/core/dom/DOMMatrix.cpp |
+++ b/third_party/WebKit/Source/core/dom/DOMMatrix.cpp |
@@ -18,7 +18,7 @@ DOMMatrix* DOMMatrix::create(DOMMatrixReadOnly* other) |
DOMMatrix::DOMMatrix(const TransformationMatrix& matrix, bool is2D) |
{ |
- m_matrix = adoptPtr(new TransformationMatrix(matrix)); |
+ m_matrix = TransformationMatrix::create(matrix); |
m_is2D = is2D; |
} |