Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(613)

Unified Diff: WebCore/xml/XMLHttpRequest.cpp

Issue 11192017: ********** WebCore blob hacking (Closed) Base URL: http://svn.webkit.org/repository/webkit/trunk/Source/
Patch Set: Created 7 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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
}
« no previous file with comments | « WebCore/platform/network/chromium/BlobRegistryProxy.cpp ('k') | WebKit/chromium/public/WebFileSystemCallbacks.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698