| Index: content/common/fileapi/webblobregistry_impl.cc
|
| diff --git a/content/common/fileapi/webblobregistry_impl.cc b/content/common/fileapi/webblobregistry_impl.cc
|
| index 9a80fb99764613d839425756681c770f8195b7c7..ba13a56a4ad3e12e8d7ce7d77d07ad959060bb24 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));
|
|
|