summaryrefslogtreecommitdiffstats
path: root/WebCore/bindings/js/JSSVGElementInstanceCustom.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'WebCore/bindings/js/JSSVGElementInstanceCustom.cpp')
-rw-r--r--WebCore/bindings/js/JSSVGElementInstanceCustom.cpp25
1 files changed, 2 insertions, 23 deletions
diff --git a/WebCore/bindings/js/JSSVGElementInstanceCustom.cpp b/WebCore/bindings/js/JSSVGElementInstanceCustom.cpp
index ccf5ccd..dec4be0 100644
--- a/WebCore/bindings/js/JSSVGElementInstanceCustom.cpp
+++ b/WebCore/bindings/js/JSSVGElementInstanceCustom.cpp
@@ -25,20 +25,14 @@
*/
#include "config.h"
-
-#if ENABLE(SVG)
#include "JSSVGElementInstance.h"
-#include "JSDOMWindow.h"
-#include "JSEventListener.h"
-#include "JSSVGElement.h"
+#if ENABLE(SVG)
#include "SVGElementInstance.h"
-using namespace JSC;
-
namespace WebCore {
-void JSSVGElementInstance::markChildren(MarkStack& markStack)
+void JSSVGElementInstance::markChildren(JSC::MarkStack& markStack)
{
Base::markChildren(markStack);
@@ -46,21 +40,6 @@ void JSSVGElementInstance::markChildren(MarkStack& markStack)
markDOMNodeWrapper(markStack, impl()->correspondingElement()->document(), impl()->correspondingElement());
}
-void JSSVGElementInstance::pushEventHandlerScope(ExecState*, ScopeChain&) const
-{
-}
-
-JSC::JSValue toJS(JSC::ExecState* exec, JSDOMGlobalObject* globalObject, SVGElementInstance* object)
-{
- JSValue result = getDOMObjectWrapper<JSSVGElementInstance>(exec, globalObject, object);
-
- // Ensure that our corresponding element has a JavaScript wrapper to keep its event handlers alive.
- if (object)
- toJS(exec, object->correspondingElement());
-
- return result;
-}
-
} // namespace WebCore
#endif // ENABLE(SVG)