Index: Source/core/html/FormDataList.cpp |
diff --git a/Source/core/html/FormDataList.cpp b/Source/core/html/FormDataList.cpp |
index 1981dcf837421a938a7b5f14fd5845c14a3e9141..ca96928cf3c6efa263c78211f179e89e8d9b461b 100644 |
--- a/Source/core/html/FormDataList.cpp |
+++ b/Source/core/html/FormDataList.cpp |
@@ -38,20 +38,6 @@ void FormDataList::appendItem(const FormDataList::Item& item) |
m_items.append(item); |
} |
-void FormDataList::deleteEntry(const String& key) |
-{ |
- const CString keyData = encodeAndNormalize(key); |
- size_t i = 0; |
- while (i < m_items.size()) { |
- if (m_items[i].key() == keyData) { |
- m_items.remove(i); |
- } else { |
- ++i; |
- } |
- } |
- return; |
-} |
- |
FormDataList::Entry FormDataList::getEntry(const String& key) const |
{ |
const CString keyData = encodeAndNormalize(key); |
@@ -111,16 +97,6 @@ FormDataList::Entry FormDataList::itemsToEntry(const FormDataList::Item& item) c |
return Entry(name, File::create(filename, currentTimeMS(), item.blob()->blobDataHandle())); |
} |
-bool FormDataList::hasEntry(const String& key) const |
-{ |
- const CString keyData = encodeAndNormalize(key); |
- for (const Item& item : items()) { |
- if (item.key() == keyData) |
- return true; |
- } |
- return false; |
-} |
- |
PassRefPtr<FormData> FormDataList::createFormData(FormData::EncodingType encodingType) |
{ |
RefPtr<FormData> result = FormData::create(); |