CTTE: SVGTRefTargetEventListener is always owned by SVGTRefElement.
[WebKit-https.git] / Source / WebCore / ChangeLog
index ebdea68765e55a7192fcf32d1e41a123f224420c..86c735d3720a7fb7b5ed9e28c991f13dad6dc3fd 100644 (file)
@@ -1,5 +1,24 @@
 2014-02-08  Andreas Kling  <akling@apple.com>
 
+        CTTE: SVGTRefTargetEventListener is always owned by SVGTRefElement.
+        <https://webkit.org/b/128432>
+
+        Tighten up the relationship between SVGTRefElement and its internal
+        event listener helper by storing the listener in a Ref, and making
+        the listeners backpointer to the element be a reference.
+
+        Reviewed by Anders Carlsson.
+
+        * svg/SVGTRefElement.cpp:
+        (WebCore::SVGTRefTargetEventListener::create):
+        (WebCore::SVGTRefTargetEventListener::SVGTRefTargetEventListener):
+        (WebCore::SVGTRefTargetEventListener::operator==):
+        (WebCore::SVGTRefTargetEventListener::handleEvent):
+        (WebCore::SVGTRefElement::SVGTRefElement):
+        * svg/SVGTRefElement.h:
+
+2014-02-07  Andreas Kling  <akling@apple.com>
+
         Devirtualize RenderBlockFlowRareData.
         <https://webkit.org/b/128427>