| 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 54b4c177b4277abb98f7e6efa50204a55644e337..15cfa0c58d3abf30b990eb31af2990fcf99f6554 100644
|
| --- a/third_party/WebKit/Source/core/dom/IntersectionObserverController.cpp
|
| +++ b/third_party/WebKit/Source/core/dom/IntersectionObserverController.cpp
|
| @@ -77,7 +77,7 @@ void IntersectionObserverController::removeTrackedObserversForRoot(const Node& r
|
| {
|
| HeapVector<Member<IntersectionObserver>> toRemove;
|
| for (auto& observer : m_trackedIntersectionObservers) {
|
| - if (observer->root() == &root)
|
| + if (observer->rootNode() == &root)
|
| toRemove.append(observer);
|
| }
|
| m_trackedIntersectionObservers.removeAll(toRemove);
|
|
|