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

Unified Diff: third_party/WebKit/Source/core/testing/LayerRect.h

Issue 2869803003: Change from ClientRect to DOMRect.
Patch Set: Change from ClientRect to DOMRect. Created 3 years, 6 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/testing/LayerRect.h
diff --git a/third_party/WebKit/Source/core/testing/LayerRect.h b/third_party/WebKit/Source/core/testing/LayerRect.h
index c91f0735217f0f328a545323aeedecc2df4914fb..3597e8cfa841ba7266e2e5f847902762b0eb1baa 100644
--- a/third_party/WebKit/Source/core/testing/LayerRect.h
+++ b/third_party/WebKit/Source/core/testing/LayerRect.h
@@ -31,8 +31,8 @@
#ifndef LayerRect_h
#define LayerRect_h
-#include "core/dom/ClientRect.h"
#include "core/dom/Node.h"
+#include "core/geometry/DOMRect.h"
#include "platform/bindings/ScriptWrappable.h"
#include "platform/heap/Handle.h"
#include "platform/wtf/text/WTFString.h"
@@ -48,7 +48,7 @@ class LayerRect final : public GarbageCollectedFinalized<LayerRect>,
const String& layer_type,
int node_offset_x,
int node_offset_y,
- ClientRect* rect) {
+ DOMRect* rect) {
return new LayerRect(node, layer_type, node_offset_x, node_offset_y, rect);
}
@@ -56,7 +56,7 @@ class LayerRect final : public GarbageCollectedFinalized<LayerRect>,
String layerType() const { return layer_type_; }
int associatedNodeOffsetX() const { return associated_node_offset_x_; }
int associatedNodeOffsetY() const { return associated_node_offset_y_; }
- ClientRect* layerRelativeRect() const { return rect_.Get(); }
+ DOMRect* layerRelativeRect() const { return rect_.Get(); }
DEFINE_INLINE_TRACE() {
visitor->Trace(layer_associated_node_);
@@ -68,7 +68,7 @@ class LayerRect final : public GarbageCollectedFinalized<LayerRect>,
const String& layer_name,
int node_offset_x,
int node_offset_y,
- ClientRect* rect)
+ DOMRect* rect)
: layer_associated_node_(node),
layer_type_(layer_name),
associated_node_offset_x_(node_offset_x),
@@ -79,7 +79,7 @@ class LayerRect final : public GarbageCollectedFinalized<LayerRect>,
String layer_type_;
int associated_node_offset_x_;
int associated_node_offset_y_;
- Member<ClientRect> rect_;
+ Member<DOMRect> rect_;
};
} // namespace blink
« no previous file with comments | « third_party/WebKit/Source/core/testing/Internals.idl ('k') | third_party/WebKit/Source/core/testing/LayerRect.idl » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698