Web Inspector: Separate creating a style sheet from adding a new rule in the protocol
[WebKit-https.git] / Source / WebInspectorUI / UserInterface / Base / Object.js
index 2134036..06d0229 100644 (file)
@@ -63,6 +63,7 @@ WebInspector.Object = class Object
         }.bind(this);
 
         this.addEventListener(eventType, wrappedCallback, null);
+        return wrappedCallback;
     }
 
     static removeEventListener(eventType, listener, thisObject)