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

Unified Diff: third_party/WebKit/Source/core/geometry/DOMPointReadOnly.cpp

Issue 2741723005: Move geometry interface files to geometry directory. (Closed)
Patch Set: Rebase Created 3 years, 9 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/geometry/DOMPointReadOnly.cpp
diff --git a/third_party/WebKit/Source/core/dom/DOMPointReadOnly.cpp b/third_party/WebKit/Source/core/geometry/DOMPointReadOnly.cpp
similarity index 88%
rename from third_party/WebKit/Source/core/dom/DOMPointReadOnly.cpp
rename to third_party/WebKit/Source/core/geometry/DOMPointReadOnly.cpp
index 538249e9552e015e29d5d5bffaa81069af80bf87..34a3cec49dcfcbf107c854055da54308d7e1bb9f 100644
--- a/third_party/WebKit/Source/core/dom/DOMPointReadOnly.cpp
+++ b/third_party/WebKit/Source/core/geometry/DOMPointReadOnly.cpp
@@ -2,15 +2,15 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-#include "core/dom/DOMPointReadOnly.h"
+#include "core/geometry/DOMPointReadOnly.h"
#include "bindings/core/v8/ExceptionState.h"
#include "bindings/core/v8/ScriptValue.h"
#include "bindings/core/v8/V8ObjectBuilder.h"
-#include "core/dom/DOMMatrixInit.h"
-#include "core/dom/DOMMatrixReadOnly.h"
-#include "core/dom/DOMPoint.h"
-#include "core/dom/DOMPointInit.h"
+#include "core/geometry/DOMMatrixInit.h"
+#include "core/geometry/DOMMatrixReadOnly.h"
+#include "core/geometry/DOMPoint.h"
+#include "core/geometry/DOMPointInit.h"
namespace blink {
@@ -21,8 +21,7 @@ DOMPointReadOnly* DOMPointReadOnly::create(double x,
return new DOMPointReadOnly(x, y, z, w);
}
-ScriptValue DOMPointReadOnly::toJSONForBinding(
- ScriptState* scriptState) const {
+ScriptValue DOMPointReadOnly::toJSONForBinding(ScriptState* scriptState) const {
V8ObjectBuilder result(scriptState);
result.addNumber("x", x());
result.addNumber("y", y());

Powered by Google App Engine
This is Rietveld 408576698