| Index: third_party/WebKit/Source/core/dom/ElementIntersectionObserverData.cpp
|
| diff --git a/third_party/WebKit/Source/core/dom/ElementIntersectionObserverData.cpp b/third_party/WebKit/Source/core/dom/ElementIntersectionObserverData.cpp
|
| index efa81ffa5ab50bc138a574b2bba573c8e8c4d437..32b8d5733df148dad9f0dc2371d4a87046c968f8 100644
|
| --- a/third_party/WebKit/Source/core/dom/ElementIntersectionObserverData.cpp
|
| +++ b/third_party/WebKit/Source/core/dom/ElementIntersectionObserverData.cpp
|
| @@ -67,12 +67,6 @@ void ElementIntersectionObserverData::deactivateAllIntersectionObservers(Element
|
| #if !ENABLE(OILPAN)
|
| void ElementIntersectionObserverData::dispose()
|
| {
|
| - HeapVector<Member<IntersectionObservation>> observationsToDisconnect;
|
| - copyValuesToVector(m_intersectionObservations, observationsToDisconnect);
|
| - for (auto& observation : observationsToDisconnect)
|
| - observation->disconnect();
|
| - ASSERT(m_intersectionObservations.isEmpty());
|
| -
|
| HeapVector<Member<IntersectionObserver>> observersToDisconnect;
|
| copyToVector(m_intersectionObservers, observersToDisconnect);
|
| for (auto& observer : observersToDisconnect)
|
|
|