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 570198a44b7d1cbcbaccd7d3d4a8fcd99a0a12e9..d1c8cb54bb4b0bde58adf9fd12c36145ef74c615 100644 |
--- a/third_party/WebKit/Source/core/dom/DOMMatrix.h |
+++ b/third_party/WebKit/Source/core/dom/DOMMatrix.h |
@@ -5,16 +5,18 @@ |
#ifndef DOMMatrix_h |
#define DOMMatrix_h |
+#include "core/dom/DOMMatrixInit.h" |
#include "core/dom/DOMMatrixReadOnly.h" |
namespace blink { |
-class DOMMatrix : public DOMMatrixReadOnly { |
+class CORE_EXPORT DOMMatrix : public DOMMatrixReadOnly { |
DEFINE_WRAPPERTYPEINFO(); |
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); |