Lines Matching defs:newTarget
587 SVGElement* newTarget = 0;
589 foundProblem = hasCycleUseReferencing(toSVGUseElement(target), targetInstance, newTarget);
627 if (!targetHasUseTag || !newTarget)
630 RefPtr<SVGElementInstance> newInstance = SVGElementInstance::create(this, toSVGUseElement(target), newTarget);
633 buildInstanceTree(newTarget, newInstancePtr, foundProblem, foundUse);
636 bool SVGUseElement::hasCycleUseReferencing(SVGUseElement* use, SVGElementInstance* targetInstance, SVGElement*& newTarget)
640 newTarget = 0;
642 newTarget = toSVGElement(targetElement);
644 if (!newTarget)
648 if (newTarget == this)
651 AtomicString targetId = newTarget->getIdAttribute();
656 if (element->hasID() && element->getIdAttribute() == targetId && &element->document() == &newTarget->document())