diff options
Diffstat (limited to 'WebCore/fileapi/BlobBuilder.cpp')
-rw-r--r-- | WebCore/fileapi/BlobBuilder.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/WebCore/fileapi/BlobBuilder.cpp b/WebCore/fileapi/BlobBuilder.cpp index e10df6b..34864a5 100644 --- a/WebCore/fileapi/BlobBuilder.cpp +++ b/WebCore/fileapi/BlobBuilder.cpp @@ -117,13 +117,13 @@ bool BlobBuilder::append(PassRefPtr<Blob> blob) return true; } -PassRefPtr<Blob> BlobBuilder::getBlob(ScriptExecutionContext* scriptExecutionContext, const String& contentType) +PassRefPtr<Blob> BlobBuilder::getBlob(const String& contentType) { OwnPtr<BlobData> blobData = BlobData::create(); blobData->setContentType(contentType); blobData->swapItems(m_items); - RefPtr<Blob> blob = Blob::create(scriptExecutionContext, blobData.release(), m_size); + RefPtr<Blob> blob = Blob::create(blobData.release(), m_size); // After creating a blob from the current blob data, we do not need to keep the data around any more. Instead, we only // need to keep a reference to the URL of the blob just created. |