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

Unified Diff: third_party/WebKit/Source/core/dom/ResizeObserverEntry.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/ResizeObserverEntry.cpp
diff --git a/third_party/WebKit/Source/core/dom/ResizeObserverEntry.cpp b/third_party/WebKit/Source/core/dom/ResizeObserverEntry.cpp
index 15b6554826e868c30a14d5546fe4c05f4bea6c9b..3f89d62dae9a7cb017825d164f3f9166937d0239 100644
--- a/third_party/WebKit/Source/core/dom/ResizeObserverEntry.cpp
+++ b/third_party/WebKit/Source/core/dom/ResizeObserverEntry.cpp
@@ -4,17 +4,17 @@
#include "core/dom/ResizeObserverEntry.h"
-#include "core/dom/ClientRect.h"
#include "core/dom/Element.h"
#include "core/dom/ResizeObservation.h"
+#include "core/geometry/DOMRect.h"
namespace blink {
ResizeObserverEntry::ResizeObserverEntry(Element* target,
const LayoutRect& content_rect)
: target_(target) {
- content_rect_ = ClientRect::Create(FloatRect(
- FloatPoint(content_rect.Location()), FloatSize(content_rect.Size())));
+ content_rect_ = DOMRect::Create(FloatRect(FloatPoint(content_rect.Location()),
+ FloatSize(content_rect.Size())));
}
DEFINE_TRACE(ResizeObserverEntry) {
« no previous file with comments | « third_party/WebKit/Source/core/dom/ResizeObserverEntry.h ('k') | third_party/WebKit/Source/core/dom/ResizeObserverEntry.idl » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698