Move parseFontFaceDescriptor to CSSPropertyParser.cpp
[chromium-blink-merge.git] / third_party / WebKit / Source / core / dom / DOMPoint.cpp
blob4f28b382c316232e599589b4e4704323cc1a56a7
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.
5 #include "config.h"
6 #include "core/dom/DOMPoint.h"
8 #include "core/dom/DOMPointInit.h"
10 namespace blink {
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)
27 } // namespace blink