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

Unified Diff: third_party/WebKit/Source/core/geometry/DOMRectReadOnly.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/DOMRectReadOnly.cpp
diff --git a/third_party/WebKit/Source/core/dom/DOMRectReadOnly.cpp b/third_party/WebKit/Source/core/geometry/DOMRectReadOnly.cpp
similarity index 91%
rename from third_party/WebKit/Source/core/dom/DOMRectReadOnly.cpp
rename to third_party/WebKit/Source/core/geometry/DOMRectReadOnly.cpp
index 6b6e5154c45cc9fcfd9cddba2b5ff6c5ec36828c..757181b43c1cd6e6563ec1a947f8a36b7aa0db86 100644
--- a/third_party/WebKit/Source/core/dom/DOMRectReadOnly.cpp
+++ b/third_party/WebKit/Source/core/geometry/DOMRectReadOnly.cpp
@@ -2,11 +2,11 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-#include "core/dom/DOMRectReadOnly.h"
+#include "core/geometry/DOMRectReadOnly.h"
#include "bindings/core/v8/ScriptValue.h"
#include "bindings/core/v8/V8ObjectBuilder.h"
-#include "core/dom/DOMRectInit.h"
+#include "core/geometry/DOMRectInit.h"
namespace blink {
@@ -31,7 +31,8 @@ ScriptValue DOMRectReadOnly::toJSONForBinding(ScriptState* scriptState) const {
}
DOMRectReadOnly* DOMRectReadOnly::fromRect(const DOMRectInit& other) {
- return new DOMRectReadOnly(other.x(), other.y(), other.width(), other.height());
+ return new DOMRectReadOnly(other.x(), other.y(), other.width(),
+ other.height());
}
DOMRectReadOnly::DOMRectReadOnly(double x,
« no previous file with comments | « third_party/WebKit/Source/core/geometry/DOMRectReadOnly.h ('k') | third_party/WebKit/Source/core/geometry/DOMRectReadOnly.idl » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698