diff options
Diffstat (limited to 'Source/WebCore/svg/properties/SVGAnimatedListPropertyTearOff.h')
-rw-r--r-- | Source/WebCore/svg/properties/SVGAnimatedListPropertyTearOff.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Source/WebCore/svg/properties/SVGAnimatedListPropertyTearOff.h b/Source/WebCore/svg/properties/SVGAnimatedListPropertyTearOff.h index 6177281c3..0fd56cc65 100644 --- a/Source/WebCore/svg/properties/SVGAnimatedListPropertyTearOff.h +++ b/Source/WebCore/svg/properties/SVGAnimatedListPropertyTearOff.h @@ -68,6 +68,8 @@ public: m_baseVal = nullptr; else if (&property == m_animVal) m_animVal = nullptr; + if (!m_baseVal && !m_animVal) + detachListWrappers(m_values.size()); } int findItem(SVGProperty* property) |