| Index: third_party/WebKit/Source/core/dom/IntersectionObserver.h
|
| diff --git a/third_party/WebKit/Source/core/dom/IntersectionObserver.h b/third_party/WebKit/Source/core/dom/IntersectionObserver.h
|
| index 85c449675b38e35c07282ee23625347baf4eb16e..55708280afaa035637bcba7620428a76fe7b385b 100644
|
| --- a/third_party/WebKit/Source/core/dom/IntersectionObserver.h
|
| +++ b/third_party/WebKit/Source/core/dom/IntersectionObserver.h
|
| @@ -71,6 +71,7 @@ class CORE_EXPORT IntersectionObserver final
|
| const {
|
| return m_observations;
|
| }
|
| + void intersectWithRemoteAncestorsIfNeeded(LayoutRect&);
|
|
|
| DECLARE_TRACE();
|
|
|
| @@ -78,7 +79,8 @@ class CORE_EXPORT IntersectionObserver final
|
| explicit IntersectionObserver(IntersectionObserverCallback&,
|
| Node&,
|
| const Vector<Length>& rootMargin,
|
| - const Vector<float>& thresholds);
|
| + const Vector<float>& thresholds,
|
| + bool intersectWithRemoteAncestors);
|
| void clearWeakMembers(Visitor*);
|
|
|
| Member<IntersectionObserverCallback> m_callback;
|
| @@ -90,6 +92,7 @@ class CORE_EXPORT IntersectionObserver final
|
| Length m_rightMargin;
|
| Length m_bottomMargin;
|
| Length m_leftMargin;
|
| + bool m_intersectWithRemoteAncestors;
|
| };
|
|
|
| } // namespace blink
|
|
|