| Index: Source/core/fileapi/Blob.cpp
|
| diff --git a/Source/core/fileapi/Blob.cpp b/Source/core/fileapi/Blob.cpp
|
| index 5fda7d84562eff669f4b748acfd0aff96c2bb758..2e096df46e48cc5803ce7d400ed702693deee7b7 100644
|
| --- a/Source/core/fileapi/Blob.cpp
|
| +++ b/Source/core/fileapi/Blob.cpp
|
| @@ -82,7 +82,7 @@ PassRefPtr<Blob> Blob::slice(long long start, long long end, const String& conte
|
| // The modification time will be used to verify if the file has been changed or not, when the underlying data are accessed.
|
| long long size;
|
| double modificationTime;
|
| - if (isFile()) {
|
| + if (isOnFilesystem()) {
|
| // FIXME: This involves synchronous file operation. We need to figure out how to make it asynchronous.
|
| toFile(this)->captureSnapshot(size, modificationTime);
|
| } else {
|
| @@ -112,7 +112,7 @@ PassRefPtr<Blob> Blob::slice(long long start, long long end, const String& conte
|
| long long length = end - start;
|
| OwnPtr<BlobData> blobData = BlobData::create();
|
| blobData->setContentType(contentType);
|
| - if (isFile()) {
|
| + if (isOnFilesystem()) {
|
| if (!toFile(this)->fileSystemURL().isEmpty())
|
| blobData->appendFileSystemURL(toFile(this)->fileSystemURL(), start, length, modificationTime);
|
| else
|
|
|