Chromium Code Reviews| Index: third_party/WebKit/Source/core/dom/DOMPoint.h |
| diff --git a/third_party/WebKit/Source/core/dom/DOMPoint.h b/third_party/WebKit/Source/core/dom/DOMPoint.h |
| index 695b642a62481dac9637a0dcd6ff409658d01fe7..e532c9a26a3a35f6f034fc5934318f1926c1ae53 100644 |
| --- a/third_party/WebKit/Source/core/dom/DOMPoint.h |
| +++ b/third_party/WebKit/Source/core/dom/DOMPoint.h |
| @@ -18,6 +18,7 @@ class CORE_EXPORT DOMPoint final : public DOMPointReadOnly { |
| public: |
| static DOMPoint* create(const DOMPointInit&); |
| static DOMPoint* create(double x, double y, double z = 0, double w = 1); |
| + static DOMPoint* fromPoint(DOMPointInit&); |
|
zino
2016/12/19 18:02:31
nit: const DOMPointInit?
Byoungkwon Ko
2016/12/19 18:59:42
Done.
|
| void setX(double x) { m_x = x; } |
| void setY(double y) { m_y = y; } |