| Index: Source/core/dom/Node.cpp
|
| diff --git a/Source/core/dom/Node.cpp b/Source/core/dom/Node.cpp
|
| index b6a41e05c0776e04a007a9613f98db44ba72ccca..4ba53ce16249e66a41174f3ee06aebde7d9a8220 100644
|
| --- a/Source/core/dom/Node.cpp
|
| +++ b/Source/core/dom/Node.cpp
|
| @@ -2031,8 +2031,8 @@ void Node::notifyMutationObserversNodeWillDetach()
|
| }
|
|
|
| if (WillBeHeapHashSet<RawPtrWillBeMember<MutationObserverRegistration>>* transientRegistry = node->transientMutationObserverRegistry()) {
|
| - for (WillBeHeapHashSet<RawPtrWillBeMember<MutationObserverRegistration>>::iterator iter = transientRegistry->begin(); iter != transientRegistry->end(); ++iter)
|
| - (*iter)->observedSubtreeNodeWillDetach(*this);
|
| + for (auto iter : *transientRegistry)
|
| + iter->observedSubtreeNodeWillDetach(*this);
|
| }
|
| }
|
| }
|
|
|