| Index: Source/core/html/FormDataList.cpp
|
| diff --git a/Source/core/html/FormDataList.cpp b/Source/core/html/FormDataList.cpp
|
| index 9c33722b4a8bc395786a5b5087c7d756fbd9ee74..1981dcf837421a938a7b5f14fd5845c14a3e9141 100644
|
| --- a/Source/core/html/FormDataList.cpp
|
| +++ b/Source/core/html/FormDataList.cpp
|
| @@ -121,37 +121,6 @@ bool FormDataList::hasEntry(const String& key) const
|
| return false;
|
| }
|
|
|
| -void FormDataList::setBlob(const String& key, Blob* blob, const String& filename)
|
| -{
|
| - setEntry(Item(encodeAndNormalize(key), blob, filename));
|
| -}
|
| -
|
| -void FormDataList::setData(const String& key, const String& value)
|
| -{
|
| - setEntry(Item(encodeAndNormalize(key), encodeAndNormalize(value)));
|
| -}
|
| -
|
| -void FormDataList::setEntry(const Item& item)
|
| -{
|
| - const CString keyData = item.key();
|
| - bool found = false;
|
| - size_t i = 0;
|
| - while (i < m_items.size()) {
|
| - if (m_items[i].key() != keyData) {
|
| - ++i;
|
| - } else if (found) {
|
| - m_items.remove(i);
|
| - } else {
|
| - found = true;
|
| - m_items[i] = item;
|
| - ++i;
|
| - }
|
| - }
|
| - if (!found)
|
| - m_items.append(item);
|
| - return;
|
| -}
|
| -
|
| PassRefPtr<FormData> FormDataList::createFormData(FormData::EncodingType encodingType)
|
| {
|
| RefPtr<FormData> result = FormData::create();
|
|
|