DescriptionSVG: Move/rename reference management to SVGElement
No change in logic, but rename and move.
I used different naming convensions based on suggestions by fs@opera.com :
"referencingElements" is renamed "outgoingReferences", and
"referencedElements" is renamed "incomingReferences".
- |SVGDocumentExtensions::setOfElementsReferencingTarget|
moved to |SVGElement::setOfIncomingReferences|
- |SVGDocumentExtensions::addElementReferencingTarget|
moved to |SVGElement::addOutgoingReferenceTo|
- |SVGDocumentExtensions::removeAllTargetReferencesForElement|
moved to |SVGElement::removeAllOutgoingReferences|
- |SVGDocumentExtensions::rebuildAllElementReferencesForTarget|
moved to |SVGElement::rebuildAllIncomingReferences|
- |SVGDocumentExtensions::removeAllElementReferencesForTarget|
moved to |SVGElement::removeAllIncomingReferences|
Changes to files SVG\w+Element.cpp made by a sed script:
s/document()\.accessSVGExtensions()\.addElementReferencingTarget(this, \([a-Z()\*]\+\))/addOutgoingReferenceTo(\1)/g
s/document()\.accessSVGExtensions()\.removeAllTargetReferencesForElement(this)/removeAllOutgoingReferences()/g
s/document()\.accessSVGExtensions()\.setOfElementsReferencingTarget(this)/setOfIncomingReferences()/g
BUG=378670
Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=177039
Patch Set 1 #Patch Set 2 : make changes by sed #Patch Set 3 : renamed to addReferenceTo #Patch Set 4 : remove sed script from CL #
Messages
Total messages: 7 (0 generated)
|