| Index: Source/core/fileapi/File.cpp
|
| diff --git a/Source/core/fileapi/File.cpp b/Source/core/fileapi/File.cpp
|
| index cb0466492b56ffcb9a478ac4352edc6dd8dc56d9..a2e11d0fa8ceda836c3694113b6a8d8fa69eefb5 100644
|
| --- a/Source/core/fileapi/File.cpp
|
| +++ b/Source/core/fileapi/File.cpp
|
| @@ -113,7 +113,17 @@ File::File(const String& path, const KURL& url, const String& type)
|
| m_name = WebKit::Platform::current()->fileUtilities()->baseName(path);
|
| // FIXME: File object serialization/deserialization does not include
|
| // newer file object data members: m_name and m_relativePath.
|
| - // See SerializedScriptValue.cpp for js and v8.
|
| + // See SerializedScriptValue.cpp.
|
| +}
|
| +
|
| +File::File(const String& path, const String& name, const KURL& url, const String& type, double lastModified, long long size)
|
| + : Blob(url, type, -1)
|
| + , m_path(path)
|
| + , m_name(name)
|
| + , m_snapshotSize(size)
|
| + , m_snapshotModificationTime(lastModified)
|
| +{
|
| + ScriptWrappable::init(this);
|
| }
|
|
|
| File::File(const String& path, const String& name, ContentTypeLookupPolicy policy)
|
|
|