diff options
author | dglazkov@google.com <dglazkov@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2008-10-30 18:48:28 +0000 |
---|---|---|
committer | dglazkov@google.com <dglazkov@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2008-10-30 18:48:28 +0000 |
commit | 074ff16d3029256a9585529cad5487c1ae6eb409 (patch) | |
tree | e4d57cd79c533507a632ebf70c8ea8850113a9fc /webkit/glue/searchable_form_data.cc | |
parent | 332ff119039b7dd3ba3d1994dde0b077f015bc03 (diff) | |
download | chromium_src-074ff16d3029256a9585529cad5487c1ae6eb409.zip chromium_src-074ff16d3029256a9585529cad5487c1ae6eb409.tar.gz chromium_src-074ff16d3029256a9585529cad5487c1ae6eb409.tar.bz2 |
Landing 36102:37604 merge on trunk
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@4222 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'webkit/glue/searchable_form_data.cc')
-rw-r--r-- | webkit/glue/searchable_form_data.cc | 10 |
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; } } |