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 b5d828231fbf1a3d044e08059b0cfab23869d274..e0426767281ea00f23bb048cd2669391bc071ba7 100644 |
--- a/third_party/WebKit/Source/core/dom/IntersectionObserverController.cpp |
+++ b/third_party/WebKit/Source/core/dom/IntersectionObserverController.cpp |
@@ -47,7 +47,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) { |