| Index: Source/core/xml/XMLHttpRequest.cpp
|
| diff --git a/Source/core/xml/XMLHttpRequest.cpp b/Source/core/xml/XMLHttpRequest.cpp
|
| index 3d1d0a42fd8abb6bdf569791212126903e0cf540..54317bc6b766bc852be6e27438552b7e881ab391 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());
|
|
|