| Index: third_party/WebKit/Source/core/dom/DOMMatrix.h
|
| diff --git a/third_party/WebKit/Source/core/dom/DOMMatrix.h b/third_party/WebKit/Source/core/dom/DOMMatrix.h
|
| index b9e4d1cd47877f960527f6910042cfccedb5b34a..71f71ef177284ec9c4a3c9c3aa57ef8c8d36dc85 100644
|
| --- a/third_party/WebKit/Source/core/dom/DOMMatrix.h
|
| +++ b/third_party/WebKit/Source/core/dom/DOMMatrix.h
|
| @@ -5,6 +5,7 @@
|
| #ifndef DOMMatrix_h
|
| #define DOMMatrix_h
|
|
|
| +#include "core/dom/DOMMatrixInit.h"
|
| #include "core/dom/DOMMatrixReadOnly.h"
|
|
|
| namespace blink {
|
| @@ -15,6 +16,7 @@ public:
|
| static DOMMatrix* create();
|
| static DOMMatrix* create(DOMMatrixReadOnly*);
|
| static DOMMatrix* create(const SkMatrix44&);
|
| + static DOMMatrix* fromMatrix(DOMMatrixInit&, ExceptionState&);
|
|
|
| void setA(double value) { m_matrix->setM11(value); }
|
| void setB(double value) { m_matrix->setM12(value); }
|
| @@ -40,8 +42,8 @@ public:
|
| void setM43(double value) { m_matrix->setM43(value); setIs2D(!value); }
|
| void setM44(double value) { m_matrix->setM44(value); setIs2D(value != 1); }
|
|
|
| - DOMMatrix* multiplySelf(DOMMatrix*);
|
| - DOMMatrix* preMultiplySelf(DOMMatrix*);
|
| + DOMMatrix* multiplySelf(DOMMatrixInit&, ExceptionState&);
|
| + DOMMatrix* preMultiplySelf(DOMMatrixInit&, ExceptionState&);
|
| DOMMatrix* translateSelf(double tx, double ty, double tz = 0);
|
| DOMMatrix* scaleSelf(double scale, double ox = 0, double oy = 0);
|
| DOMMatrix* scale3dSelf(double scale, double ox = 0, double oy = 0, double oz = 0);
|
|
|