summaryrefslogtreecommitdiffstats
path: root/WebCore/html/Blob.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'WebCore/html/Blob.cpp')
-rw-r--r--WebCore/html/Blob.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/WebCore/html/Blob.cpp b/WebCore/html/Blob.cpp
index baf3d49..0680d82 100644
--- a/WebCore/html/Blob.cpp
+++ b/WebCore/html/Blob.cpp
@@ -43,6 +43,11 @@ Blob::Blob(const String& type, const BlobItemList& items)
m_items.append(items[i]);
}
+Blob::Blob(const PassRefPtr<BlobItem>& item)
+{
+ m_items.append(item);
+}
+
Blob::Blob(const String& path)
{
// Note: this doesn't initialize the type unlike File(path).