Index: Source/core/svg/SVGAnimateMotionElement.cpp |
diff --git a/Source/core/svg/SVGAnimateMotionElement.cpp b/Source/core/svg/SVGAnimateMotionElement.cpp |
index 1ade309a68fe5458d37b1c1824db46d88867839a..b3c07da51c386001385186e964684d555207eb25 100644 |
--- a/Source/core/svg/SVGAnimateMotionElement.cpp |
+++ b/Source/core/svg/SVGAnimateMotionElement.cpp |
@@ -309,10 +309,10 @@ void SVGAnimateMotionElement::applyResultsToTarget() |
return; |
// ...except in case where we have additional instances in <use> trees. |
- const HashSet<SVGElementInstance*>& instances = targetElement->instancesForElement(); |
- const HashSet<SVGElementInstance*>::const_iterator end = instances.end(); |
- for (HashSet<SVGElementInstance*>::const_iterator it = instances.begin(); it != end; ++it) { |
- SVGElement* shadowTreeElement = (*it)->shadowTreeElement(); |
+ const HashSet<SVGElement*>& instances = targetElement->instancesForElement(); |
+ const HashSet<SVGElement*>::const_iterator end = instances.end(); |
+ for (HashSet<SVGElement*>::const_iterator it = instances.begin(); it != end; ++it) { |
+ SVGElement* shadowTreeElement = *it; |
ASSERT(shadowTreeElement); |
AffineTransform* transform = shadowTreeElement->supplementalTransform(); |
if (!transform) |