Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(180)

Unified Diff: third_party/WebKit/Source/core/dom/DOMPoint.cpp

Issue 1709003002: Geometry: Reimplement DOMPoint using V8 extras. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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
deleted file mode 100644
index 757c2921110033509a5d7ba801fd41b54152a6d1..0000000000000000000000000000000000000000
--- a/third_party/WebKit/Source/core/dom/DOMPoint.cpp
+++ /dev/null
@@ -1,26 +0,0 @@
-// Copyright 2014 The Chromium Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style license that can be
-// found in the LICENSE file.
-
-#include "core/dom/DOMPoint.h"
-
-#include "core/dom/DOMPointInit.h"
-
-namespace blink {
-
-DOMPoint* DOMPoint::create(const DOMPointInit& point)
-{
- return new DOMPoint(point.x(), point.y(), point.z(), point.w());
-}
-
-DOMPoint* DOMPoint::create(double x, double y, double z, double w)
-{
- return new DOMPoint(x, y, z, w);
-}
-
-DOMPoint::DOMPoint(double x, double y, double z, double w)
- : DOMPointReadOnly(x, y, z, w)
-{
-}
-
-} // namespace blink

Powered by Google App Engine
This is Rietveld 408576698