summaryrefslogtreecommitdiffstats
path: root/WebCore/html/File.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'WebCore/html/File.cpp')
-rw-r--r--WebCore/html/File.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/WebCore/html/File.cpp b/WebCore/html/File.cpp
index 4000dcb..109e0d3 100644
--- a/WebCore/html/File.cpp
+++ b/WebCore/html/File.cpp
@@ -31,15 +31,15 @@
namespace WebCore {
-File::File(const String& path)
- : Blob(path)
+File::File(ScriptExecutionContext* scriptExecutionContext, const String& path)
+ : Blob(scriptExecutionContext, path)
{
Init();
}
#if ENABLE(DIRECTORY_UPLOAD)
-File::File(const String& relativePath, const String& filePath)
- : Blob(FileBlobItem::create(filePath, relativePath))
+File::File(ScriptExecutionContext* scriptExecutionContext, const String& relativePath, const String& filePath)
+ : Blob(scriptExecutionContext, FileBlobItem::create(filePath, relativePath))
{
Init();
}