| Index: third_party/WebKit/Source/core/dom/DOMPoint.cpp
|
| diff --git a/third_party/WebKit/Source/core/dom/DOMPoint.cpp b/third_party/WebKit/Source/core/dom/DOMPoint.cpp
|
| index 1bb78667c5dbcac01646d27aae1e2a5c70eddf49..2a72af3594cbaf4c5ef5ca61e6324a0e602db8e8 100644
|
| --- a/third_party/WebKit/Source/core/dom/DOMPoint.cpp
|
| +++ b/third_party/WebKit/Source/core/dom/DOMPoint.cpp
|
| @@ -16,6 +16,10 @@ DOMPoint* DOMPoint::create(double x, double y, double z, double w) {
|
| return new DOMPoint(x, y, z, w);
|
| }
|
|
|
| +DOMPoint* DOMPoint::fromPoint(const DOMPointInit& other) {
|
| + return new DOMPoint(other.x(), other.y(), other.z(), other.w());
|
| +}
|
| +
|
| DOMPoint::DOMPoint(double x, double y, double z, double w)
|
| : DOMPointReadOnly(x, y, z, w) {}
|
|
|
|
|