diff options
Diffstat (limited to 'WebCore/svg/SVGAnimateTransformElement.cpp')
-rw-r--r-- | WebCore/svg/SVGAnimateTransformElement.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/WebCore/svg/SVGAnimateTransformElement.cpp b/WebCore/svg/SVGAnimateTransformElement.cpp index 3ebba06..ac6eac9 100644 --- a/WebCore/svg/SVGAnimateTransformElement.cpp +++ b/WebCore/svg/SVGAnimateTransformElement.cpp @@ -163,16 +163,16 @@ void SVGAnimateTransformElement::applyResultsToTarget() targetElement->renderer()->setNeedsLayout(true); // ...except in case where we have additional instances in <use> trees. - HashSet<SVGElementInstance*> instances = targetElement->instancesForElement(); + const HashSet<SVGElementInstance*>& instances = targetElement->instancesForElement(); RefPtr<SVGTransformList> transformList = transformListFor(targetElement); - HashSet<SVGElementInstance*>::iterator end = instances.end(); - for (HashSet<SVGElementInstance*>::iterator it = instances.begin(); it != end; ++it) { + const HashSet<SVGElementInstance*>::const_iterator end = instances.end(); + for (HashSet<SVGElementInstance*>::const_iterator it = instances.begin(); it != end; ++it) { SVGElement* shadowTreeElement = (*it)->shadowTreeElement(); ASSERT(shadowTreeElement); if (shadowTreeElement->isStyledTransformable()) - static_cast<SVGStyledTransformableElement*>(shadowTreeElement)->setTransform(transformList.get()); + static_cast<SVGStyledTransformableElement*>(shadowTreeElement)->setTransformBaseValue(transformList.get()); else if (shadowTreeElement->hasTagName(SVGNames::textTag)) - static_cast<SVGTextElement*>(shadowTreeElement)->setTransform(transformList.get()); + static_cast<SVGTextElement*>(shadowTreeElement)->setTransformBaseValue(transformList.get()); if (shadowTreeElement->renderer()) shadowTreeElement->renderer()->setNeedsLayout(true); } |