Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(173)

Unified Diff: third_party/WebKit/Source/core/dom/DOMQuad.h

Issue 2638413005: [GeometryInterface] add fromQuad function in DOMQuad. (Closed)
Patch Set: [WIP] formQuad Created 3 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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 19ef067a599ba82c477c6c09df1f5c07e4fdb9e2..b2219d10af83c234387489b683dd9f8fe396b69d 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 DOMQuadInit;
class DOMRectInit;
class CORE_EXPORT DOMQuad : public GarbageCollected<DOMQuad>,
@@ -25,6 +26,7 @@ class CORE_EXPORT DOMQuad : public GarbageCollected<DOMQuad>,
const DOMPointInit& p3,
const DOMPointInit& p4);
static DOMQuad* fromRect(const DOMRectInit&);
+ static DOMQuad* fromQuad(const DOMQuadInit&);
DOMPoint* p1() const { return m_p1; }
DOMPoint* p2() const { return m_p2; }

Powered by Google App Engine
This is Rietveld 408576698