Index: third_party/WebKit/Source/core/dom/IntersectionObserverController.cpp |
diff --git a/third_party/WebKit/Source/core/dom/IntersectionObserverController.cpp b/third_party/WebKit/Source/core/dom/IntersectionObserverController.cpp |
index 125c67f46875669c15fe22ff3f0af6a6ec3734f1..2f05ec58127ea23cc0938d49fb2aaa168e042de1 100644 |
--- a/third_party/WebKit/Source/core/dom/IntersectionObserverController.cpp |
+++ b/third_party/WebKit/Source/core/dom/IntersectionObserverController.cpp |
@@ -73,7 +73,7 @@ void IntersectionObserverController::addTrackedObserver(IntersectionObserver& ob |
m_trackedIntersectionObservers.add(&observer); |
} |
-void IntersectionObserverController::removeTrackedObserversForRoot(const Element& root) |
+void IntersectionObserverController::removeTrackedObserversForRoot(const Node& root) |
{ |
HeapVector<Member<IntersectionObserver>> toRemove; |
for (auto& observer : m_trackedIntersectionObservers) { |