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 f8fb2b9409de28bda257bcedee5e7c8cb269264c..021063299732761cc5f6d860e1c40634a624ad44 100644 |
--- a/third_party/WebKit/Source/core/dom/IntersectionObserverController.cpp |
+++ b/third_party/WebKit/Source/core/dom/IntersectionObserverController.cpp |
@@ -75,7 +75,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) { |