Index: Source/web/WebSearchableFormData.cpp |
diff --git a/Source/web/WebSearchableFormData.cpp b/Source/web/WebSearchableFormData.cpp |
index 9b0af4faf0909232b9ffe36ce6b047bf4e0adcea..acb3a88fd6d74f93f210b74a1b4872f8975340a8 100644 |
--- a/Source/web/WebSearchableFormData.cpp |
+++ b/Source/web/WebSearchableFormData.cpp |
@@ -211,9 +211,9 @@ bool buildSearchString(const HTMLFormElement* form, Vector<char>* encodedString, |
if (!control->appendFormData(dataList, false)) |
continue; |
- const Vector<FormDataList::Item>& items = dataList.items(); |
+ const WillBeHeapVector<FormDataList::Item>& items = dataList.items(); |
- for (Vector<FormDataList::Item>::const_iterator j(items.begin()); j != items.end(); ++j) { |
+ for (WillBeHeapVector<FormDataList::Item>::const_iterator j(items.begin()); j != items.end(); ++j) { |
if (!encodedString->isEmpty()) |
encodedString->append('&'); |
FormDataBuilder::encodeStringAsFormData(*encodedString, j->data()); |