Index: WebCore/svg/SVGCursorElement.cpp |
=================================================================== |
--- WebCore/svg/SVGCursorElement.cpp (revision 73472) |
+++ WebCore/svg/SVGCursorElement.cpp (working copy) |
@@ -46,7 +46,7 @@ |
{ |
HashSet<SVGElement*>::iterator end = m_clients.end(); |
for (HashSet<SVGElement*>::iterator it = m_clients.begin(); it != end; ++it) |
- (*it)->setCursorElement(0); |
+ (*it)->cursorElementRemoved(); |
} |
void SVGCursorElement::parseMappedAttribute(Attribute* attr) |
@@ -76,9 +76,14 @@ |
void SVGCursorElement::removeClient(SVGElement* element) |
{ |
m_clients.remove(element); |
- element->setCursorElement(0); |
+ element->cursorElementRemoved(); |
} |
+void SVGCursorElement::removeReferencedElement(SVGElement* element) |
+{ |
+ m_clients.remove(element); |
+} |
+ |
void SVGCursorElement::svgAttributeChanged(const QualifiedName& attrName) |
{ |
SVGElement::svgAttributeChanged(attrName); |