| Index: third_party/WebKit/Source/core/dom/IntersectionObservation.h
|
| diff --git a/third_party/WebKit/Source/core/dom/IntersectionObservation.h b/third_party/WebKit/Source/core/dom/IntersectionObservation.h
|
| index 394146dda16c7b78f39b2c9196e47b4d3d72e46d..0d50498d2791bebefddcb68f7a69c77da5dd994e 100644
|
| --- a/third_party/WebKit/Source/core/dom/IntersectionObservation.h
|
| +++ b/third_party/WebKit/Source/core/dom/IntersectionObservation.h
|
| @@ -24,6 +24,7 @@ public:
|
| LayoutRect targetRect;
|
| LayoutRect intersectionRect;
|
| LayoutRect rootRect;
|
| + bool doesIntersect;
|
| };
|
|
|
| IntersectionObserver& observer() const { return *m_observer; }
|
| @@ -39,9 +40,10 @@ public:
|
|
|
| private:
|
| void applyRootMargin(LayoutRect&) const;
|
| + void initializeGeometry(IntersectionGeometry&) const;
|
| void initializeTargetRect(LayoutRect&) const;
|
| void initializeRootRect(LayoutRect&) const;
|
| - void clipToRoot(LayoutRect&, const LayoutRect&) const;
|
| + void clipToRoot(IntersectionGeometry&) const;
|
| void mapTargetRectToTargetFrameCoordinates(LayoutRect&) const;
|
| void mapRootRectToRootFrameCoordinates(LayoutRect&) const;
|
| void mapRootRectToTargetFrameCoordinates(LayoutRect&) const;
|
|
|