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.cpp9
1 files changed, 9 insertions, 0 deletions
diff --git a/WebCore/bindings/v8/V8DOMWrapper.cpp b/WebCore/bindings/v8/V8DOMWrapper.cpp
index dd0446c..72f6bdc 100644
--- a/WebCore/bindings/v8/V8DOMWrapper.cpp
+++ b/WebCore/bindings/v8/V8DOMWrapper.cpp
@@ -82,6 +82,10 @@
#include "V8SVGElementInstance.h"
#endif
+#if ENABLE(WEB_AUDIO)
+#include "V8JavaScriptAudioNode.h"
+#endif
+
#include <algorithm>
#include <utility>
#include <v8-debug.h>
@@ -434,6 +438,11 @@ v8::Handle<v8::Value> V8DOMWrapper::convertEventTargetToV8Object(EventTarget* ta
return toV8(fileWriter);
#endif
+#if ENABLE(WEB_AUDIO)
+ if (JavaScriptAudioNode* jsAudioNode = target->toJavaScriptAudioNode())
+ return toV8(jsAudioNode);
+#endif
+
ASSERT(0);
return notHandledByInterceptor();
}