X-Git-Url: http://git.webkit.org/?p=WebKit-https.git;a=blobdiff_plain;f=Source%2FWebCore%2Fhtml%2FFileInputType.cpp;h=8bcc101d695e6d43c8a84de49f00a52f53e017ec;hp=061ccec29633fa3acb501991ca484a093a8858ed;hb=cfb85556ec86034bb2b097582262f4b8913c0a59;hpb=fa374e527de06c420466a6491bc44d76d67abc03;ds=inline diff --git a/Source/WebCore/html/FileInputType.cpp b/Source/WebCore/html/FileInputType.cpp index 061ccec..8bcc101 100644 --- a/Source/WebCore/html/FileInputType.cpp +++ b/Source/WebCore/html/FileInputType.cpp @@ -40,7 +40,6 @@ #include "RenderFileUploadControl.h" #include "ScriptController.h" #include "ShadowRoot.h" -#include "WebKitBlobBuilder.h" #include #include #include @@ -155,7 +154,7 @@ bool FileInputType::appendFormData(FormDataList& encoding, bool multipart) const // If no filename at all is entered, return successful but empty. // Null would be more logical, but Netscape posts an empty file. Argh. if (!numFiles) { - encoding.appendBlob(element()->name(), BlobBuilder().getBlob(ASCIILiteral("application/octet-stream")), emptyString()); + encoding.appendBlob(element()->name(), File::create("")); return true; }