Chromium Code Reviews| 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..f8aced797b18aa6436ab7de845b082ee9151d07b 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; |
| + PersistentWillBeMember<IntersectionObservationRegistry> m_intersectionObservationRegistry; |
| + OwnPtrWillBeMember<WeakPtrFactory<Document>> m_weakPointerFactory; |
|
dcheng
2015/11/20 20:35:07
WeakPtrFactory is not a garbage collected object,
szager1
2015/11/20 22:02:23
I just noticed that Document already has an m_weak
|
| + |
| int m_nodeCount; |
| }; |