| Index: third_party/WebKit/Source/core/dom/IntersectionObserver.cpp
|
| diff --git a/third_party/WebKit/Source/core/dom/IntersectionObserver.cpp b/third_party/WebKit/Source/core/dom/IntersectionObserver.cpp
|
| index bdd3b9d04fa8876fd444ae8f93eadc9e8435410c..e9cae0f56f44aa4ecdfb048b6a38f31d1b4bef32 100644
|
| --- a/third_party/WebKit/Source/core/dom/IntersectionObserver.cpp
|
| +++ b/third_party/WebKit/Source/core/dom/IntersectionObserver.cpp
|
| @@ -258,7 +258,7 @@ void IntersectionObserver::unobserve(Element* target,
|
| if (IntersectionObservation* observation =
|
| target->intersectionObserverData()->getObservationFor(*this)) {
|
| observation->disconnect();
|
| - m_observations.remove(observation);
|
| + m_observations.erase(observation);
|
| }
|
| }
|
|
|
|
|