DescriptionUse IdTargetObserver in SVGUseElement
Change SVGUseElement to use the observeTarget() helper from
SVGURIReference. Since SVGUseElement has some additional requirements
for its reference management, a more low-level observeTarget() variant
is exposed.
To facilitate this change, clearShadowTree() is renamed to
clearResourceReference(), and the shadow tree tear-down is hoisted out
of it.
BUG=661598
Review-Url: https://codereview.chromium.org/2744613002
Cr-Commit-Position: refs/heads/master@{#455769}
Committed: https://chromium.googlesource.com/chromium/src/+/9b88406d1a87dfeef593c6d1a91beb3a2b696391
Patch Set 1 #
Messages
Total messages: 12 (8 generated)
|