summaryrefslogtreecommitdiff
path: root/Source/WebKit/chromium/src/WebBlobData.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'Source/WebKit/chromium/src/WebBlobData.cpp')
-rw-r--r--Source/WebKit/chromium/src/WebBlobData.cpp7
1 files changed, 6 insertions, 1 deletions
diff --git a/Source/WebKit/chromium/src/WebBlobData.cpp b/Source/WebKit/chromium/src/WebBlobData.cpp
index c767d1bdd..094ff8013 100644
--- a/Source/WebKit/chromium/src/WebBlobData.cpp
+++ b/Source/WebKit/chromium/src/WebBlobData.cpp
@@ -83,7 +83,12 @@ bool WebBlobData::itemAt(size_t index, Item& result) const
return true;
case BlobDataItem::Blob:
result.type = Item::TypeBlob;
- result.blobURL = item.url;
+ result.blobURL = item.url; // FIXME: deprecate this.
+ result.url = item.url;
+ return true;
+ case BlobDataItem::URL:
+ result.type = Item::TypeURL;
+ result.url = item.url;
return true;
}
ASSERT_NOT_REACHED();