DescriptionFactor addReferenceTo()-calls out of SVGUseElement::buildShadowTree
This factors the registering of references to first degree nested <use>
elements out of the buildShadowTree, getting rid of the |foundUse|
parameter. This brings us one step closer to more streamlined shadow-
tree construction. It also avoids calling isStructurallyExternal() more
than once.
Also cleanup the instanceTreeIsLoading() method by letting it traverse
all the SVGUseElement descendants of the shadow root using the
Traversal<> helpers.
BUG=589682
Committed: https://crrev.com/e2422a52e0a68ea44f57cf9446408c8e6e311425
Cr-Commit-Position: refs/heads/master@{#379289}
Patch Set 1 #
Dependent Patchsets: Messages
Total messages: 14 (5 generated)
|