~ubuntu-branches/ubuntu/lucid/webkit/lucid-updates

« back to all changes in this revision

Viewing changes to WebCore/svg/SVGAnimateMotionElement.cpp

  • Committer: Bazaar Package Importer
  • Author(s): Gustavo Noronha Silva
  • Date: 2010-02-04 19:30:57 UTC
  • mfrom: (1.2.8 upstream) (4.3.9 sid)
  • Revision ID: james.westby@ubuntu.com-20100204193057-d3018lm1fipb0703
* New upstream release
* debian/copyright:
- Updated with changes since 1.1.19.

Show diffs side-by-side

added added

removed removed

Lines of Context:
215
215
        targetElement->renderer()->setNeedsLayout(true);
216
216
    
217
217
    // ...except in case where we have additional instances in <use> trees.
218
 
    HashSet<SVGElementInstance*> instances = targetElement->instancesForElement();
219
 
    HashSet<SVGElementInstance*>::iterator end = instances.end();
220
 
    for (HashSet<SVGElementInstance*>::iterator it = instances.begin(); it != end; ++it) {
 
218
    const HashSet<SVGElementInstance*>& instances = targetElement->instancesForElement();
 
219
    const HashSet<SVGElementInstance*>::const_iterator end = instances.end();
 
220
    for (HashSet<SVGElementInstance*>::const_iterator it = instances.begin(); it != end; ++it) {
221
221
        SVGElement* shadowTreeElement = (*it)->shadowTreeElement();
222
222
        ASSERT(shadowTreeElement);
223
223
        TransformationMatrix* transform = shadowTreeElement->supplementalTransform();