Index: Source/core/html/HTMLSelectElement.cpp |
diff --git a/Source/core/html/HTMLSelectElement.cpp b/Source/core/html/HTMLSelectElement.cpp |
index d739e9ee549ed1fefa492dadfc9cc9c87ff2a904..527539eea1217f3f2f7da962a71a48731aeecef0 100644 |
--- a/Source/core/html/HTMLSelectElement.cpp |
+++ b/Source/core/html/HTMLSelectElement.cpp |
@@ -486,7 +486,7 @@ void HTMLSelectElement::setLength(unsigned newLen, ExceptionState& exceptionStat |
// Removing children fires mutation events, which might mutate the DOM further, so we first copy out a list |
// of elements that we intend to remove then attempt to remove them one at a time. |
- Vector<RefPtr<Element> > itemsToRemove; |
+ WillBeHeapVector<RefPtrWillBeMember<Element> > itemsToRemove; |
size_t optionIndex = 0; |
for (size_t i = 0; i < items.size(); ++i) { |
Element* item = items[i]; |