| Index: Source/core/xml/XMLHttpRequest.cpp
|
| diff --git a/Source/core/xml/XMLHttpRequest.cpp b/Source/core/xml/XMLHttpRequest.cpp
|
| index f8e652a552db9910de5f6608a38bc580bbb78edd..a5311cbb37a00dafeaa546c47271305275439353 100644
|
| --- a/Source/core/xml/XMLHttpRequest.cpp
|
| +++ b/Source/core/xml/XMLHttpRequest.cpp
|
| @@ -684,7 +684,7 @@ void XMLHttpRequest::send(Blob* body, ExceptionState& es)
|
|
|
| // FIXME: add support for uploading bundles.
|
| m_requestEntityBody = FormData::create();
|
| - if (body->isFile())
|
| + if (body->hasBackingFile())
|
| m_requestEntityBody->appendFile(toFile(body)->path());
|
| else
|
| m_requestEntityBody->appendBlob(body->uuid(), body->blobDataHandle());
|
|
|