Index: Source/core/html/HTMLTextAreaElement.cpp |
diff --git a/Source/core/html/HTMLTextAreaElement.cpp b/Source/core/html/HTMLTextAreaElement.cpp |
index da73cb51981e3e9dd5bea004c78d02f20eaa4414..06c7e496d2d10b9505fb659b66c494b41c901bc3 100644 |
--- a/Source/core/html/HTMLTextAreaElement.cpp |
+++ b/Source/core/html/HTMLTextAreaElement.cpp |
@@ -408,10 +408,10 @@ String HTMLTextAreaElement::defaultValue() const |
void HTMLTextAreaElement::setDefaultValue(const String& defaultValue) |
{ |
- RefPtr<Node> protectFromMutationEvents(this); |
+ RefPtrWillBeRawPtr<Node> protectFromMutationEvents(this); |
// To preserve comments, remove only the text nodes, then add a single text node. |
- Vector<RefPtr<Node> > textNodes; |
+ WillBeHeapVector<RefPtrWillBeMember<Node> > textNodes; |
for (Node* n = firstChild(); n; n = n->nextSibling()) { |
if (n->isTextNode()) |
textNodes.append(n); |