summaryrefslogtreecommitdiffstats
path: root/WebCore/bindings/v8/V8DOMWrapper.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'WebCore/bindings/v8/V8DOMWrapper.cpp')
-rw-r--r--WebCore/bindings/v8/V8DOMWrapper.cpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/WebCore/bindings/v8/V8DOMWrapper.cpp b/WebCore/bindings/v8/V8DOMWrapper.cpp
index e7a8142..dd0446c 100644
--- a/WebCore/bindings/v8/V8DOMWrapper.cpp
+++ b/WebCore/bindings/v8/V8DOMWrapper.cpp
@@ -48,6 +48,7 @@
#include "V8EventListenerList.h"
#include "V8EventSource.h"
#include "V8FileReader.h"
+#include "V8FileWriter.h"
#include "V8HTMLCollection.h"
#include "V8HTMLDocument.h"
#include "V8IDBRequest.h"
@@ -428,6 +429,11 @@ v8::Handle<v8::Value> V8DOMWrapper::convertEventTargetToV8Object(EventTarget* ta
return toV8(fileReader);
#endif
+#if ENABLE(FILE_SYSTEM)
+ if (FileWriter* fileWriter = target->toFileWriter())
+ return toV8(fileWriter);
+#endif
+
ASSERT(0);
return notHandledByInterceptor();
}