summaryrefslogtreecommitdiffstats
path: root/content/common/fileapi/webblobregistry_impl.cc
diff options
context:
space:
mode:
Diffstat (limited to 'content/common/fileapi/webblobregistry_impl.cc')
-rw-r--r--content/common/fileapi/webblobregistry_impl.cc6
1 files changed, 3 insertions, 3 deletions
diff --git a/content/common/fileapi/webblobregistry_impl.cc b/content/common/fileapi/webblobregistry_impl.cc
index 9a80fb9..ba13a56 100644
--- a/content/common/fileapi/webblobregistry_impl.cc
+++ b/content/common/fileapi/webblobregistry_impl.cc
@@ -42,7 +42,7 @@ void WebBlobRegistryImpl::registerBlobURL(
if (data_item.data.size() == 0)
break;
if (data_item.data.size() < kLargeThresholdBytes) {
- item.SetToData(data_item.data.data(), data_item.data.size());
+ item.SetToBytes(data_item.data.data(), data_item.data.size());
child_thread_->Send(new BlobHostMsg_AppendBlobDataItem(url, item));
} else {
// We handle larger amounts of data via SharedMemory instead of
@@ -67,7 +67,7 @@ void WebBlobRegistryImpl::registerBlobURL(
}
case WebBlobData::Item::TypeFile:
if (data_item.length) {
- item.SetToFile(
+ item.SetToFilePathRange(
webkit_glue::WebStringToFilePath(data_item.filePath),
static_cast<uint64>(data_item.offset),
static_cast<uint64>(data_item.length),
@@ -77,7 +77,7 @@ void WebBlobRegistryImpl::registerBlobURL(
break;
case WebBlobData::Item::TypeBlob:
if (data_item.length) {
- item.SetToBlob(
+ item.SetToBlobUrlRange(
data_item.blobURL,
static_cast<uint64>(data_item.offset),
static_cast<uint64>(data_item.length));