Chromium Code Reviews| 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; } |