| Index: Source/core/svg/SVGDocumentExtensions.cpp
|
| diff --git a/Source/core/svg/SVGDocumentExtensions.cpp b/Source/core/svg/SVGDocumentExtensions.cpp
|
| index e13ad327ce06e3b7f7f2cb43079d6c102f46e03f..53ce3ce11ccf6c97bbfe5301442291cf712207d8 100644
|
| --- a/Source/core/svg/SVGDocumentExtensions.cpp
|
| +++ b/Source/core/svg/SVGDocumentExtensions.cpp
|
| @@ -350,9 +350,7 @@ void SVGDocumentExtensions::removeAllTargetReferencesForElement(SVGElement* refe
|
| toBeRemoved.append(referencedElement);
|
| }
|
|
|
| - Vector<SVGElement*>::iterator vectorEnd = toBeRemoved.end();
|
| - for (Vector<SVGElement*>::iterator it = toBeRemoved.begin(); it != vectorEnd; ++it)
|
| - m_elementDependencies.remove(*it);
|
| + m_elementDependencies.removeAll(toBeRemoved);
|
| }
|
|
|
| void SVGDocumentExtensions::rebuildAllElementReferencesForTarget(SVGElement* referencedElement)
|
|
|