Index: Source/core/layout/LayoutView.cpp |
diff --git a/Source/core/layout/LayoutView.cpp b/Source/core/layout/LayoutView.cpp |
index 6d382e74a7b20b63b47724a53c4b8287df0b300c..4749e1effc9f53dcc228c3ebe3c6367d65d14959 100644 |
--- a/Source/core/layout/LayoutView.cpp |
+++ b/Source/core/layout/LayoutView.cpp |
@@ -1012,4 +1012,14 @@ void LayoutView::willBeDestroyed() |
m_compositor.clear(); |
} |
+void LayoutView::addIntersectionObserverTarget(LayoutObject* obj) |
+{ |
+ m_intersectionObserverTargets.add(obj, IntRect()); |
+} |
+ |
+void LayoutView::removeIntersectionObserverTarget(LayoutObject* obj) |
+{ |
+ m_intersectionObserverTargets.remove(obj); |
+} |
+ |
} // namespace blink |