| 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 59c6ae4412f04aa6c0f8c2c0e4fb043a1bee1217..8821c5c3b7e8ebdd3562750a080fa58e5df47304 100644
|
| --- a/third_party/WebKit/Source/core/dom/DOMMatrix.cpp
|
| +++ b/third_party/WebKit/Source/core/dom/DOMMatrix.cpp
|
| @@ -15,6 +15,10 @@ DOMMatrix* DOMMatrix::create(DOMMatrixReadOnly* other,
|
| return new DOMMatrix(other->matrix(), other->is2D());
|
| }
|
|
|
| +DOMMatrix* DOMMatrix::create(const TransformationMatrix& matrix) {
|
| + return new DOMMatrix(matrix, matrix.isAffine());
|
| +}
|
| +
|
| DOMMatrix* DOMMatrix::create(const SkMatrix44& matrix,
|
| ExceptionState& exceptionState) {
|
| TransformationMatrix transformationMatrix(matrix);
|
|
|