| Index: Source/core/xml/XMLHttpRequest.cpp
|
| diff --git a/Source/core/xml/XMLHttpRequest.cpp b/Source/core/xml/XMLHttpRequest.cpp
|
| index 382d7e463929a183b4ba96569c32dd07b6085017..fbeef586f92704fc82bca3259933d4e5ac1fa087 100644
|
| --- a/Source/core/xml/XMLHttpRequest.cpp
|
| +++ b/Source/core/xml/XMLHttpRequest.cpp
|
| @@ -299,7 +299,7 @@ Blob* XMLHttpRequest::responseBlob()
|
| blobData->setContentType(responseMIMEType()); // responseMIMEType defaults to text/xml which may be incorrect.
|
| m_binaryResponseBuilder.clear();
|
| }
|
| - m_responseBlob = Blob::create(blobData.release(), size);
|
| + m_responseBlob = Blob::create(BlobDataHandle::create(blobData.release(), size));
|
| }
|
|
|
| return m_responseBlob.get();
|
| @@ -661,7 +661,7 @@ void XMLHttpRequest::send(Blob* body, ExceptionState& es)
|
| if (body->isFile())
|
| m_requestEntityBody->appendFile(toFile(body)->path());
|
| else
|
| - m_requestEntityBody->appendBlob(body->url());
|
| + m_requestEntityBody->appendBlob(body->uuid(), body->blobDataHandle());
|
| }
|
|
|
| createRequest(es);
|
|
|