| 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..65c80a4cc61f111e1d93082e00a13a4522324d7c 100644
|
| --- a/third_party/WebKit/Source/core/dom/DOMMatrix.cpp
|
| +++ b/third_party/WebKit/Source/core/dom/DOMMatrix.cpp
|
| @@ -126,6 +126,16 @@ DOMMatrix* DOMMatrix::multiplySelf(DOMMatrixInit& other,
|
| return this;
|
| }
|
|
|
| +DOMMatrix* DOMMatrix::multiplySelf(DOMMatrixReadOnly* other,
|
| + ExceptionState& exceptionState) {
|
| + if (!other->is2D())
|
| + m_is2D = false;
|
| +
|
| + *m_matrix *= other->matrix();
|
| +
|
| + return this;
|
| +}
|
| +
|
| DOMMatrix* DOMMatrix::preMultiplySelf(DOMMatrixInit& other,
|
| ExceptionState& exceptionState) {
|
| DOMMatrix* otherMatrix = DOMMatrix::fromMatrix(other, exceptionState);
|
|
|