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

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

Issue 2635543003: [GeometryInterface] add toJSON() function in DOMQuad (Closed)
Patch Set: [GeometryInterface] add toJson() function in DOMQuad 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 0b5aac6fdb93c5e0c27042949ac77ace0f9d0d75..d13c4c0994cf8fc44fc828b1dc940c1c00ad4a36 100644
--- a/third_party/WebKit/Source/core/dom/DOMQuad.h
+++ b/third_party/WebKit/Source/core/dom/DOMQuad.h
@@ -5,6 +5,7 @@
#ifndef DOMQuad_h
#define DOMQuad_h
+#include "bindings/core/v8/ScriptValue.h"
#include "bindings/core/v8/ScriptWrappable.h"
#include "core/CoreExport.h"
@@ -28,6 +29,8 @@ class CORE_EXPORT DOMQuad : public GarbageCollected<DOMQuad>,
DOMPoint* p3() const { return m_p3; }
DOMPoint* p4() const { return m_p4; }
+ ScriptValue toJSONForBinding(ScriptState*) const;
+
DEFINE_INLINE_TRACE() {
visitor->trace(m_p1);
visitor->trace(m_p2);

Powered by Google App Engine
This is Rietveld 408576698