Index: third_party/WebKit/Source/core/dom/DOMQuad.h |
diff --git a/third_party/WebKit/Source/core/dom/DOMQuad.h b/third_party/WebKit/Source/core/dom/DOMQuad.h |
index d13c4c0994cf8fc44fc828b1dc940c1c00ad4a36..19ef067a599ba82c477c6c09df1f5c07e4fdb9e2 100644 |
--- a/third_party/WebKit/Source/core/dom/DOMQuad.h |
+++ b/third_party/WebKit/Source/core/dom/DOMQuad.h |
@@ -13,6 +13,7 @@ namespace blink { |
class DOMPoint; |
class DOMPointInit; |
+class DOMRectInit; |
class CORE_EXPORT DOMQuad : public GarbageCollected<DOMQuad>, |
public ScriptWrappable { |
@@ -23,6 +24,7 @@ class CORE_EXPORT DOMQuad : public GarbageCollected<DOMQuad>, |
const DOMPointInit& p2, |
const DOMPointInit& p3, |
const DOMPointInit& p4); |
+ static DOMQuad* fromRect(const DOMRectInit&); |
DOMPoint* p1() const { return m_p1; } |
DOMPoint* p2() const { return m_p2; } |
@@ -43,6 +45,7 @@ class CORE_EXPORT DOMQuad : public GarbageCollected<DOMQuad>, |
const DOMPointInit& p2, |
const DOMPointInit& p3, |
const DOMPointInit& p4); |
+ DOMQuad(double x, double y, double width, double height); |
Member<DOMPoint> m_p1; |
Member<DOMPoint> m_p2; |