Index: third_party/WebKit/Source/core/layout/LayoutObject.h |
diff --git a/third_party/WebKit/Source/core/layout/LayoutObject.h b/third_party/WebKit/Source/core/layout/LayoutObject.h |
index 5be3d0db2781b113becb8e6ad2e003ad48b1ca3a..007b6d724763a3dae63c98b1f064175563280f1d 100644 |
--- a/third_party/WebKit/Source/core/layout/LayoutObject.h |
+++ b/third_party/WebKit/Source/core/layout/LayoutObject.h |
@@ -1185,6 +1185,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, |