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

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

Issue 2586083002: Adding fromPoint to DOMPoint and DOMPointReadOnly interfaces following spec. (Closed)
Patch Set: Adding fromPoint to DOMPoint and DOMPointReadOnly interfaces following spec. Created 4 years 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/DOMPointReadOnly.h
diff --git a/third_party/WebKit/Source/core/dom/DOMPointReadOnly.h b/third_party/WebKit/Source/core/dom/DOMPointReadOnly.h
index 0c2f98a23c44a5607b1e9c6722b6dc9ec42111ca..c5a4e546f208a540fcbb2a2c6c85587ee75f0d69 100644
--- a/third_party/WebKit/Source/core/dom/DOMPointReadOnly.h
+++ b/third_party/WebKit/Source/core/dom/DOMPointReadOnly.h
@@ -11,12 +11,15 @@
namespace blink {
+class DOMPointInit;
+
class CORE_EXPORT DOMPointReadOnly : public GarbageCollected<DOMPointReadOnly>,
public ScriptWrappable {
DEFINE_WRAPPERTYPEINFO();
public:
static DOMPointReadOnly* create(double x, double y, double z, double w);
+ static DOMPointReadOnly* fromPoint(DOMPointInit&);
zino 2016/12/19 18:02:31 nit: const DOMPointInit?
Byoungkwon Ko 2016/12/19 18:59:42 Done.
double x() const { return m_x; }
double y() const { return m_y; }

Powered by Google App Engine
This is Rietveld 408576698