Index: third_party/WebKit/Source/core/dom/IntersectionObserver.h |
diff --git a/third_party/WebKit/Source/core/dom/IntersectionObserver.h b/third_party/WebKit/Source/core/dom/IntersectionObserver.h |
index 34a89d2615172d6f5baee6413d314695c37434e9..48b1823d9307297a3f8e1e373aaf31135623d3ba 100644 |
--- a/third_party/WebKit/Source/core/dom/IntersectionObserver.h |
+++ b/third_party/WebKit/Source/core/dom/IntersectionObserver.h |
@@ -42,6 +42,7 @@ public: |
void setActive(bool); |
void disconnect(); |
void removeObservation(IntersectionObservation&); |
+ bool hasEntries() const { return m_entries.size(); } |
DECLARE_TRACE(); |