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

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

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/dom/ElementTest.cpp
diff --git a/third_party/WebKit/Source/core/dom/ElementTest.cpp b/third_party/WebKit/Source/core/dom/ElementTest.cpp
index 7a92936440f5b0f6dc8fd55a5b46eedfee572a3a..90386b8e0e562439f24226084dfd18536e13026d 100644
--- a/third_party/WebKit/Source/core/dom/ElementTest.cpp
+++ b/third_party/WebKit/Source/core/dom/ElementTest.cpp
@@ -5,10 +5,10 @@
#include "core/dom/Element.h"
#include <memory>
-#include "core/dom/ClientRect.h"
#include "core/dom/Document.h"
#include "core/editing/EditingTestBase.h"
#include "core/frame/LocalFrameView.h"
+#include "core/geometry/DOMRect.h"
#include "core/html/HTMLHtmlElement.h"
#include "core/layout/LayoutBoxModelObject.h"
#include "core/paint/PaintLayer.h"
@@ -51,7 +51,7 @@ TEST_F(ElementTest,
// The sticky element should remain at (0, 25) relative to the viewport due to
// the constraints.
- ClientRect* bounding_client_rect = sticky->getBoundingClientRect();
+ DOMRect* bounding_client_rect = sticky->getBoundingClientRect();
EXPECT_EQ(0, bounding_client_rect->top());
EXPECT_EQ(25, bounding_client_rect->left());
« no previous file with comments | « third_party/WebKit/Source/core/dom/Element.idl ('k') | third_party/WebKit/Source/core/dom/IntersectionObserverEntry.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698