Index: WebCore/xml/XMLHttpRequest.cpp |
=================================================================== |
--- WebCore/xml/XMLHttpRequest.cpp (revision 140218) |
+++ WebCore/xml/XMLHttpRequest.cpp (working copy) |
@@ -313,7 +313,7 @@ |
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(); |
@@ -672,7 +672,7 @@ |
m_requestEntityBody->appendFile(toFile(body)->path()); |
#if ENABLE(BLOB) |
else |
- m_requestEntityBody->appendBlob(body->url()); |
+ m_requestEntityBody->appendBlob(body->uuid(), body->blobDataHandle()); |
#endif |
} |