| 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..14d4192cf42179e48762f1498bd5b61076179589 100644
|
| --- a/third_party/WebKit/Source/core/dom/DOMMatrix.cpp
|
| +++ b/third_party/WebKit/Source/core/dom/DOMMatrix.cpp
|
| @@ -16,6 +16,12 @@ DOMMatrix* DOMMatrix::create(DOMMatrixReadOnly* other)
|
| return new DOMMatrix(other->matrix(), other->is2D());
|
| }
|
|
|
| +DOMMatrix* DOMMatrix::create(const SkMatrix44& matrix)
|
| +{
|
| + TransformationMatrix transformationMatrix(matrix);
|
| + return new DOMMatrix(transformationMatrix, true);
|
| +}
|
| +
|
| DOMMatrix::DOMMatrix(const TransformationMatrix& matrix, bool is2D)
|
| {
|
| m_matrix = adoptPtr(new TransformationMatrix(matrix));
|
|
|