| Index: third_party/WebKit/Source/core/dom/IntersectionObserverEntry.h
|
| diff --git a/third_party/WebKit/Source/core/dom/IntersectionObserverEntry.h b/third_party/WebKit/Source/core/dom/IntersectionObserverEntry.h
|
| index b567e2f7666771092c56bbfcb510158730ce68b9..42b0adb5418dbab550a4718a87c2ac40ff15f126 100644
|
| --- a/third_party/WebKit/Source/core/dom/IntersectionObserverEntry.h
|
| +++ b/third_party/WebKit/Source/core/dom/IntersectionObserverEntry.h
|
| @@ -5,8 +5,8 @@
|
| #ifndef IntersectionObserverEntry_h
|
| #define IntersectionObserverEntry_h
|
|
|
| -#include "core/dom/ClientRect.h"
|
| #include "core/dom/DOMHighResTimeStamp.h"
|
| +#include "core/geometry/DOMRect.h"
|
| #include "platform/bindings/ScriptWrappable.h"
|
| #include "platform/geometry/IntRect.h"
|
| #include "platform/heap/Handle.h"
|
| @@ -31,9 +31,9 @@ class IntersectionObserverEntry final
|
|
|
| double time() const { return time_; }
|
| double intersectionRatio() const { return intersection_ratio_; }
|
| - ClientRect* boundingClientRect() const { return bounding_client_rect_; }
|
| - ClientRect* rootBounds() const { return root_bounds_; }
|
| - ClientRect* intersectionRect() const { return intersection_rect_; }
|
| + DOMRect* boundingClientRect() const { return bounding_client_rect_; }
|
| + DOMRect* rootBounds() const { return root_bounds_; }
|
| + DOMRect* intersectionRect() const { return intersection_rect_; }
|
| bool isIntersecting() const { return is_intersecting_; }
|
| Element* target() const { return target_.Get(); }
|
|
|
| @@ -42,9 +42,9 @@ class IntersectionObserverEntry final
|
| private:
|
| DOMHighResTimeStamp time_;
|
| double intersection_ratio_;
|
| - Member<ClientRect> bounding_client_rect_;
|
| - Member<ClientRect> root_bounds_;
|
| - Member<ClientRect> intersection_rect_;
|
| + Member<DOMRect> bounding_client_rect_;
|
| + Member<DOMRect> root_bounds_;
|
| + Member<DOMRect> intersection_rect_;
|
| Member<Element> target_;
|
| bool is_intersecting_;
|
| };
|
|
|