Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1000)

Unified Diff: Source/web/WebSearchableFormData.cpp

Issue 176853004: Oilpan: move core/fileapi to oilpan's heap. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Rebased Created 6 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « Source/web/WebIDBDatabaseError.cpp ('k') | public/platform/WebIDBDatabaseError.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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());
« no previous file with comments | « Source/web/WebIDBDatabaseError.cpp ('k') | public/platform/WebIDBDatabaseError.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698