Index: Source/core/html/DOMFormData.cpp |
diff --git a/Source/core/html/DOMFormData.cpp b/Source/core/html/DOMFormData.cpp |
index 92fb7695d5cb5641b7f7ca0bb310c061bcaf71b9..9379f8cc520a2d0bc7fc233515ef6b550811c903 100644 |
--- a/Source/core/html/DOMFormData.cpp |
+++ b/Source/core/html/DOMFormData.cpp |
@@ -58,14 +58,12 @@ DOMFormData::DOMFormData(HTMLFormElement* form) |
void DOMFormData::append(const String& name, const String& value) |
{ |
- if (!name.isEmpty()) |
- appendData(name, value); |
+ appendData(name, value); |
} |
void DOMFormData::append(const String& name, Blob* blob, const String& filename) |
{ |
- if (!name.isEmpty()) |
- appendBlob(name, blob, filename); |
+ appendBlob(name, blob, filename); |
} |
} // namespace blink |