Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(287)

Unified Diff: third_party/WebKit/Source/core/dom/Document.h

Issue 1548523002: Use Document, rather than document element, for implicit root. (Closed) Base URL: https://chromium.googlesource.com/chromium/src@intersection-observer
Patch Set: rebaseline Created 4 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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 7e996cd4f93353633b8ac9b10711d049a50255ba..d5ca86d154d4cb2a94f107ed611ce7559badeae1 100644
--- a/third_party/WebKit/Source/core/dom/Document.h
+++ b/third_party/WebKit/Source/core/dom/Document.h
@@ -136,6 +136,7 @@ class MainThreadTaskRunner;
class MediaQueryListListener;
class MediaQueryMatcher;
class NodeFilter;
+class NodeIntersectionObserverData;
class NodeIterator;
class NthIndexCache;
class OriginAccessEntry;
@@ -688,6 +689,7 @@ public:
WeakPtrWillBeRawPtr<Document> createWeakPtr();
IntersectionObserverController& ensureIntersectionObserverController();
+ NodeIntersectionObserverData& ensureIntersectionObserverData();
void updateViewportDescription();
void processReferrerPolicy(const String& policy);
@@ -1404,6 +1406,7 @@ private:
PersistentWillBeMember<CanvasFontCache> m_canvasFontCache;
PersistentWillBeMember<IntersectionObserverController> m_intersectionObserverController;
+ PersistentWillBeMember<NodeIntersectionObserverData> m_intersectionObserverData;
int m_nodeCount;
};

Powered by Google App Engine
This is Rietveld 408576698