Index: Source/WebCore/dom/Document.h |
diff --git a/Source/WebCore/dom/Document.h b/Source/WebCore/dom/Document.h |
index a796b4907c12158c06bfa62531d8f17ece0aac42..5218b18af86d44c2c1221fa0d5dd31eb1262e117 100644 |
--- a/Source/WebCore/dom/Document.h |
+++ b/Source/WebCore/dom/Document.h |
@@ -1380,8 +1380,8 @@ public: |
void addIntersectionObserver(IntersectionObserver&); |
void removeIntersectionObserver(IntersectionObserver&); |
unsigned numberOfIntersectionObservers() const { return m_intersectionObservers.size(); } |
+ void scheduleForcedIntersectionObservationUpdate(); |
void updateIntersectionObservations(); |
- void scheduleIntersectionObservationUpdate(); |
#endif |
#if ENABLE(MEDIA_STREAM) |
@@ -1798,10 +1798,6 @@ private: |
#if ENABLE(INTERSECTION_OBSERVER) |
Vector<WeakPtr<IntersectionObserver>> m_intersectionObservers; |
Vector<WeakPtr<IntersectionObserver>> m_intersectionObserversWithPendingNotifications; |
- |
- // FIXME: Schedule intersection observation updates in a way that fits into the HTML |
- // EventLoop. See https://bugs.webkit.org/show_bug.cgi?id=160711. |
- Timer m_intersectionObservationUpdateTimer; |
Timer m_intersectionObserversNotifyTimer; |
#endif |
@@ -1990,7 +1986,7 @@ private: |
#endif |
#if ENABLE(INTERSECTION_OBSERVER) |
- bool m_needsIntersectionObservationUpdate { false }; |
+ bool m_needsForcedIntersectionObservationUpdate { false }; |
#endif |
#if ENABLE(MEDIA_STREAM) |