Index: third_party/WebKit/Source/core/dom/Document.h |
diff --git a/third_party/WebKit/Source/core/dom/Document.h b/third_party/WebKit/Source/core/dom/Document.h |
index 617b7e5741828fd0ef740f5171ce83529501fe60..462c266f6d600c29107fbedeab25b914a84713de 100644 |
--- a/third_party/WebKit/Source/core/dom/Document.h |
+++ b/third_party/WebKit/Source/core/dom/Document.h |
@@ -126,6 +126,7 @@ class HitTestRequest; |
class IdleRequestCallback; |
class IdleRequestOptions; |
class InputDeviceCapabilities; |
+class IntersectionObservationRegistry; |
class LayoutPoint; |
class LiveNodeListBase; |
class Locale; |
@@ -675,6 +676,11 @@ public: |
bool hasMutationObservers() const { return m_mutationObserverTypes; } |
void addMutationObserverTypes(MutationObserverOptions types) { m_mutationObserverTypes |= types; } |
+ WeakPtr<Document> createWeakPtr(); |
+ |
+ IntersectionObservationRegistry* intersectionObservationRegistry(); |
+ void deliverIntersectionObservationsTimerFired(Timer<Document>*); |
+ |
void updateViewportDescription(); |
void processReferrerPolicy(const String& policy); |
@@ -1330,6 +1336,7 @@ private: |
int m_loadEventDelayCount; |
Timer<Document> m_loadEventDelayTimer; |
Timer<Document> m_pluginLoadingTimer; |
+ Timer<Document> m_deliverIntersectionObservationsTimer; |
ViewportDescription m_viewportDescription; |
ViewportDescription m_legacyViewportDescription; |
@@ -1390,6 +1397,9 @@ private: |
PersistentWillBeMember<CanvasFontCache> m_canvasFontCache; |
+ OwnPtrWillBeMember<IntersectionObservationRegistry> m_intersectionObservationRegistry; |
+ OwnPtrWillBeMember<WeakPtrFactory<Document>> m_weakPointerFactory; |
+ |
int m_nodeCount; |
}; |