| 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 3281fcea96352ef256fc00bd74383250e40b02ac..3fef91f6485698166d5e6fb0b91744a2050b7f28 100644
|
| --- a/third_party/WebKit/Source/core/dom/IntersectionObserver.h
|
| +++ b/third_party/WebKit/Source/core/dom/IntersectionObserver.h
|
| @@ -80,6 +80,7 @@ class CORE_EXPORT IntersectionObserver final
|
| const {
|
| return m_observations;
|
| }
|
| + void intersectWithRemoteAncestorsIfNeeded(LayoutRect&);
|
|
|
| // Set the assumed initial state of the observed element. Note that this can
|
| // only be set before calling observe().
|
| @@ -93,7 +94,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;
|
| @@ -106,6 +108,7 @@ class CORE_EXPORT IntersectionObserver final
|
| Length m_bottomMargin;
|
| Length m_leftMargin;
|
| InitialState m_initialState;
|
| + bool m_intersectWithRemoteAncestors;
|
| };
|
|
|
| } // namespace blink
|
|
|