Fix build.
authordarin@apple.com <darin@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Mon, 9 Feb 2015 01:40:07 +0000 (01:40 +0000)
committerdarin@apple.com <darin@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Mon, 9 Feb 2015 01:40:07 +0000 (01:40 +0000)
* bindings/js/JSEventListener.h: Removed a call to forwardEventListeners.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@179812 268f45cc-cd09-0410-ab3c-d52691b4dbfc

Source/WebCore/ChangeLog
Source/WebCore/bindings/js/JSEventListener.h

index db783a2c9e1f5c577dc71048d205936fa3315ca6..38279fd3af1ec6aaa8ae26bc36df2c5ae760728a 100644 (file)
@@ -1,3 +1,9 @@
+2015-02-08  Darin Adler  <darin@apple.com>
+
+        Fix build.
+
+        * bindings/js/JSEventListener.h: Removed a call to forwardEventListeners.
+
 2015-02-08  Darin Adler  <darin@apple.com>
 
         Remove the SVG instance tree
index 364bc1e3019c10e1c732b83b19974ca5516d02e3..1bcb96eef1fa001186cd8cd60743651f6e9d8fcc 100644 (file)
@@ -81,8 +81,6 @@ namespace WebCore {
     Ref<JSEventListener> createJSEventListenerForAdd(JSC::ExecState&, JSC::JSObject& listener, JSC::JSObject& wrapper);
     Ref<JSEventListener> createJSEventListenerForRemove(JSC::ExecState&, JSC::JSObject& listener, JSC::JSObject& wrapper);
 
-    bool forwardsEventListeners(JSC::JSObject& wrapper);
-
     inline JSC::JSObject* JSEventListener::jsFunction(ScriptExecutionContext* scriptExecutionContext) const
     {
         // initializeJSFunction can trigger code that deletes this event listener
@@ -116,7 +114,6 @@ namespace WebCore {
 
     inline RefPtr<JSEventListener> createJSEventListenerForAttribute(JSC::ExecState& state, JSC::JSValue listener, JSC::JSObject& wrapper)
     {
-        ASSERT(!forwardsEventListeners(wrapper));
         if (!listener.isObject())
             return nullptr;
         return JSEventListener::create(asObject(listener), &wrapper, true, currentWorld(&state));