| Index: WebCore/fileapi/File.cpp
|
| ===================================================================
|
| --- WebCore/fileapi/File.cpp (revision 132804)
|
| +++ WebCore/fileapi/File.cpp (working copy)
|
| @@ -95,7 +95,7 @@
|
| #endif
|
|
|
| File::File(const String& path, ContentTypeLookupPolicy policy)
|
| - : Blob(createBlobDataForFile(path, policy), -1)
|
| + : Blob(BlobDataHandle::create(createBlobDataForFile(path, policy), -1))
|
| , m_path(path)
|
| , m_name(pathGetFileName(path))
|
| #if ENABLE(FILE_SYSTEM)
|
| @@ -105,8 +105,8 @@
|
| {
|
| }
|
|
|
| -File::File(const String& path, const KURL& url, const String& type)
|
| - : Blob(url, type, -1)
|
| +File::File(const String& path, const String& uuid, const String& type)
|
| + : Blob(BlobDataHandle::create(uuid, type, -1))
|
| , m_path(path)
|
| #if ENABLE(FILE_SYSTEM)
|
| , m_snapshotSize(-1)
|
| @@ -120,7 +120,7 @@
|
| }
|
|
|
| File::File(const String& path, const String& name, ContentTypeLookupPolicy policy)
|
| - : Blob(createBlobDataForFileWithName(path, name, policy), -1)
|
| + : Blob(BlobDataHandle::create(createBlobDataForFileWithName(path, name, policy), -1))
|
| , m_path(path)
|
| , m_name(name)
|
| #if ENABLE(FILE_SYSTEM)
|
| @@ -132,7 +132,7 @@
|
|
|
| #if ENABLE(FILE_SYSTEM)
|
| File::File(const String& name, const FileMetadata& metadata)
|
| - : Blob(createBlobDataForFileWithMetadata(name, metadata), metadata.length)
|
| + : Blob(BlobDataHandle::create(createBlobDataForFileWithMetadata(name, metadata), metadata.length))
|
| , m_path(metadata.platformPath)
|
| , m_name(name)
|
| , m_snapshotSize(metadata.length)
|
| @@ -141,7 +141,7 @@
|
| }
|
|
|
| File::File(const KURL& fileSystemURL, const FileMetadata& metadata)
|
| - : Blob(createBlobDataForFileSystemURL(fileSystemURL, metadata), metadata.length)
|
| + : Blob(BlobDataHandle::create(createBlobDataForFileSystemURL(fileSystemURL, metadata), metadata.length))
|
| , m_fileSystemURL(fileSystemURL)
|
| , m_snapshotSize(metadata.length)
|
| , m_snapshotModificationTime(metadata.modificationTime)
|
|
|