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

Unified Diff: third_party/WebKit/Source/core/dom/IntersectionObserverEntry.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/IntersectionObserverEntry.cpp
diff --git a/third_party/WebKit/Source/core/dom/IntersectionObserverEntry.cpp b/third_party/WebKit/Source/core/dom/IntersectionObserverEntry.cpp
index a337d42e4df91a8fc78dbb2b0b35829cc31841b4..f26e1fd61a92d29cd0590bdcf31e16661014f970 100644
--- a/third_party/WebKit/Source/core/dom/IntersectionObserverEntry.cpp
+++ b/third_party/WebKit/Source/core/dom/IntersectionObserverEntry.cpp
@@ -18,9 +18,9 @@ IntersectionObserverEntry::IntersectionObserverEntry(
Element* target)
: time_(time),
intersection_ratio_(intersection_ratio),
- bounding_client_rect_(ClientRect::Create(bounding_client_rect)),
- root_bounds_(root_bounds ? ClientRect::Create(*root_bounds) : nullptr),
- intersection_rect_(ClientRect::Create(intersection_rect)),
+ bounding_client_rect_(DOMRect::Create(bounding_client_rect)),
+ root_bounds_(root_bounds ? DOMRect::Create(*root_bounds) : nullptr),
+ intersection_rect_(DOMRect::Create(intersection_rect)),
target_(target),
is_intersecting_(is_intersecting)

Powered by Google App Engine
This is Rietveld 408576698