summaryrefslogtreecommitdiffstats
path: root/src/3rdparty/webkit/WebCore/generated/JSEventSource.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/3rdparty/webkit/WebCore/generated/JSEventSource.cpp')
-rw-r--r--src/3rdparty/webkit/WebCore/generated/JSEventSource.cpp10
1 files changed, 9 insertions, 1 deletions
diff --git a/src/3rdparty/webkit/WebCore/generated/JSEventSource.cpp b/src/3rdparty/webkit/WebCore/generated/JSEventSource.cpp
index 8fe292b..69471ee 100644
--- a/src/3rdparty/webkit/WebCore/generated/JSEventSource.cpp
+++ b/src/3rdparty/webkit/WebCore/generated/JSEventSource.cpp
@@ -32,6 +32,7 @@
#include "JSEvent.h"
#include "JSEventListener.h"
#include "KURL.h"
+#include "RegisteredEventListener.h"
#include <runtime/Error.h>
#include <runtime/JSNumberCell.h>
#include <runtime/JSString.h>
@@ -118,7 +119,14 @@ JSEventSource::JSEventSource(PassRefPtr<Structure> structure, JSDOMGlobalObject*
JSEventSource::~JSEventSource()
{
- forgetDOMObject(*Heap::heap(this)->globalData(), m_impl.get());
+ impl()->invalidateEventListeners();
+ forgetDOMObject(*Heap::heap(this)->globalData(), impl());
+}
+
+void JSEventSource::markChildren(MarkStack& markStack)
+{
+ Base::markChildren(markStack);
+ impl()->markEventListeners(markStack);
}
JSObject* JSEventSource::createPrototype(ExecState* exec, JSGlobalObject* globalObject)