diff options
author | Said Abou-Hallawa <sabouhallawa@apple.com> | 2016-03-08 16:13:36 +0100 |
---|---|---|
committer | Javier Fernandez <jfernandez@igalia.com> | 2016-03-19 22:44:54 +0000 |
commit | 21a11f7197da091eae93e987e73fbf5537dfaf3a (patch) | |
tree | 6bc613af1ec39e68e5976d3cab004f1b25a4eb42 /Source/JavaScriptCore/runtime/SmallStrings.cpp | |
parent | 8366c5d48fc7ef56ea2269cb133f2a75269a712e (diff) | |
download | qtwebkit-21a11f7197da091eae93e987e73fbf5537dfaf3a.tar.gz |
Fixed crashes on SVG path animation use cases.
Based on upstream fix by said@apple.com at http://trac.webkit.org/changeset/196670
A destructor was added to SVGListPropertyTearOff that notifies its
wrapper (the SVGAnimatedListPropertyTearoff) about its deletion. This
allows the wrapper to nullify any references to the wrapped content.
We needed to do the same thing for SVGPathSegListPropertyTearOff. Both
SVGPathSegListPropertyTearOff and SVGListPropertyTearOff inherit from
SVGListProperty and both hold pointers to SVGAnimatedListPropertyTearOff
which needs to be notified.
Change-Id: I1873825c7bdc07bf06cd5c300156ebe084f2607e
Reviewed-by: Konstantin Tokarev <annulen@yandex.ru>
Reviewed-by: Michael BrĂ¼ning <michael.bruning@theqtcompany.com>
Diffstat (limited to 'Source/JavaScriptCore/runtime/SmallStrings.cpp')
0 files changed, 0 insertions, 0 deletions