summaryrefslogtreecommitdiffstats
path: root/WebCore/platform/network/BlobData.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'WebCore/platform/network/BlobData.cpp')
-rw-r--r--WebCore/platform/network/BlobData.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/WebCore/platform/network/BlobData.cpp b/WebCore/platform/network/BlobData.cpp
index bb256d0..21e8917 100644
--- a/WebCore/platform/network/BlobData.cpp
+++ b/WebCore/platform/network/BlobData.cpp
@@ -64,6 +64,11 @@ void BlobData::appendData(const CString& data)
m_items.append(BlobDataItem(data));
}
+void BlobData::appendData(const CString& data, long long offset, long long length)
+{
+ m_items.append(BlobDataItem(data, offset, length));
+}
+
void BlobData::appendFile(const String& path)
{
m_items.append(BlobDataItem(path));