| Index: Source/core/xml/XMLHttpRequest.cpp
|
| diff --git a/Source/core/xml/XMLHttpRequest.cpp b/Source/core/xml/XMLHttpRequest.cpp
|
| index 0d4d2feccf831abf29a42c4dbe624d482954e540..11bb5cd60a8f454162ab6c0f54529f782e65b298 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());
|
|
|