1 // Copyright 2014 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
6 #include "core/dom/DOMPoint.h"
8 #include "core/dom/DOMPointInit.h"
12 DOMPoint
* DOMPoint::create(const DOMPointInit
& point
)
14 return new DOMPoint(point
.x(), point
.y(), point
.z(), point
.w());
17 DOMPoint
* DOMPoint::create(double x
, double y
, double z
, double w
)
19 return new DOMPoint(x
, y
, z
, w
);
22 DOMPoint::DOMPoint(double x
, double y
, double z
, double w
)
23 : DOMPointReadOnly(x
, y
, z
, w
)