Bug 1798459 - Remove dead code related to blobs; r=dom-storage-reviewers,jari
Depends on D160904 Differential Revision: https://phabricator.services.mozilla.com/D160905
This commit is contained in:
@@ -415,24 +415,6 @@ already_AddRefed<Promise> FileSystemWritableFileStream::Write(
|
||||
return promise.forget();
|
||||
}
|
||||
|
||||
/*
|
||||
nsresult FileSystemWritableFileStream::WriteBlob(Blob& aBlob, uint64_t&
|
||||
aWritten) {
|
||||
// If aBlobImpl is a MultipartBlobImpl, let's write the sub-blobImpls
|
||||
// instead.
|
||||
const nsTArray<RefPtr<BlobImpl>>* subBlobs = aBlob.GetSubBlobImpls();
|
||||
if (subBlobs) {
|
||||
for (BlobImpl* subBlob : *subBlobs) {
|
||||
nsresult rv = WriteBlobImpl(subBlob, aWritten);
|
||||
if (NS_WARN_IF(NS_FAILED(rv))) {
|
||||
return rv;
|
||||
}
|
||||
}
|
||||
return NS_OK;
|
||||
}
|
||||
return WriteBlobImpl(aBlob.Impl(), aWritten);
|
||||
}
|
||||
*/
|
||||
nsresult FileSystemWritableFileStream::WriteBlob(Blob* aBlob,
|
||||
uint64_t& aWritten) {
|
||||
NS_ENSURE_ARG_POINTER(aBlob);
|
||||
|
||||
Reference in New Issue
Block a user