Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(304)

Unified Diff: Source/WebCore/dom/Document.h

Issue 357810044: More wip
Patch Set: Created 5 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Please Sign in to add in-line comments.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « Source/WebCore/ChangeLog ('k') | Source/WebCore/dom/Document.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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)
« no previous file with comments | « Source/WebCore/ChangeLog ('k') | Source/WebCore/dom/Document.cpp » ('j') | no next file with comments »

Powered by Google App Engine
RSS Feeds Recent Issues | This issue
This is Rietveld f62528b