summaryrefslogtreecommitdiffstats
path: root/webkit/glue/searchable_form_data.cc
diff options
context:
space:
mode:
Diffstat (limited to 'webkit/glue/searchable_form_data.cc')
-rw-r--r--webkit/glue/searchable_form_data.cc10
1 files changed, 5 insertions, 5 deletions
diff --git a/webkit/glue/searchable_form_data.cc b/webkit/glue/searchable_form_data.cc
index cd0a88f..420c19a 100644
--- a/webkit/glue/searchable_form_data.cc
+++ b/webkit/glue/searchable_form_data.cc
@@ -268,24 +268,24 @@ WebCore::HTMLInputElement* GetTextElement(
text_element = static_cast<WebCore::HTMLInputElement*>(form_element);
}
for (int j = 0, max = static_cast<int>(lst.list().size()); j < max; ++j) {
- const WebCore::FormDataListItem& item = lst.list()[j];
+ const WebCore::FormDataList::Item& item = lst.list()[j];
// handle ISINDEX / <input name=isindex> special
// but only if its the first entry
- if (enc_string->isEmpty() && item.m_data == "isindex") {
+ if (enc_string->isEmpty() && item.data() == "isindex") {
if (form_element == text_element)
appendString(*enc_string, "{searchTerms}");
else
- appendEncodedString(*enc_string, (lst.list()[j + 1].m_data));
+ appendEncodedString(*enc_string, (lst.list()[j + 1].data()));
++j;
} else {
if (!enc_string->isEmpty())
enc_string->append('&');
- appendEncodedString(*enc_string, item.m_data);
+ appendEncodedString(*enc_string, item.data());
enc_string->append('=');
if (form_element == text_element)
appendString(*enc_string, "{searchTerms}");
else
- appendEncodedString(*enc_string, lst.list()[j + 1].m_data);
+ appendEncodedString(*enc_string, lst.list()[j + 1].data());
++j;
}
}