Index: Source/core/layout/LayoutObject.h |
diff --git a/Source/core/layout/LayoutObject.h b/Source/core/layout/LayoutObject.h |
index afb71435d4e5893af1a1ac503db33fc8a8896d59..b4435c0f0e396d73b55c17da46597364fd13acde 100644 |
--- a/Source/core/layout/LayoutObject.h |
+++ b/Source/core/layout/LayoutObject.h |
@@ -1058,6 +1058,8 @@ public: |
// Called before anonymousChild.setStyle(). Override to set custom styles for the child. |
virtual void updateAnonymousChildStyle(const LayoutObject& anonymousChild, ComputedStyle& style) const { } |
+ bool hasIntersectionObserver() { return m_node && m_node->hasIntersectionObserver(); } |
+ |
protected: |
enum LayoutObjectType { |
LayoutObjectBr, |