| Index: Source/core/dom/Node.cpp
|
| diff --git a/Source/core/dom/Node.cpp b/Source/core/dom/Node.cpp
|
| index b6a41e05c0776e04a007a9613f98db44ba72ccca..017ec0cc0f8bae15b2f75a4e36f8b1f8b8b32286 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 registration : *transientRegistry)
|
| + registration->observedSubtreeNodeWillDetach(*this);
|
| }
|
| }
|
| }
|
|
|