Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(2090)

Unified Diff: WebCore/svg/SVGCursorElement.cpp

Issue 5545007: Merge 73432 - 2010-12-07 Justin Schuh <jschuh@chromium.org>... (Closed) Base URL: http://svn.webkit.org/repository/webkit/branches/chromium/597/
Patch Set: Created 10 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « WebCore/svg/SVGCursorElement.h ('k') | WebCore/svg/SVGElement.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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);
« no previous file with comments | « WebCore/svg/SVGCursorElement.h ('k') | WebCore/svg/SVGElement.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698