Index: third_party/WebKit/Source/core/svg/SVGUseElement.cpp |
diff --git a/third_party/WebKit/Source/core/svg/SVGUseElement.cpp b/third_party/WebKit/Source/core/svg/SVGUseElement.cpp |
index 175309cf366193019c1fb42838d5b3c26842e20b..555b2cd00e8dcb2ad47fc461bc5beaa29e0ab679 100644 |
--- a/third_party/WebKit/Source/core/svg/SVGUseElement.cpp |
+++ b/third_party/WebKit/Source/core/svg/SVGUseElement.cpp |
@@ -708,7 +708,7 @@ void SVGUseElement::invalidateDependentShadowTrees() |
{ |
// Recursively invalidate dependent <use> shadow trees |
const WillBeHeapHashSet<RawPtrWillBeWeakMember<SVGElement>>& rawInstances = instancesForElement(); |
- Vector<RefPtrWillBeRawPtr<SVGElement>> instances; |
+ WillBeHeapVector<RefPtrWillBeMember<SVGElement>> instances; |
instances.appendRange(rawInstances.begin(), rawInstances.end()); |
for (auto& instance : instances) { |
if (RefPtrWillBeRawPtr<SVGUseElement> element = instance->correspondingUseElement()) { |