DescriptionRemove redundant check in SVGUseElement::buildShadowTree
We already perform this check on |target| in all callers (the method
itself and buildShadowAndInstanceTree), so this condition will never be
true at this point. Remove it (replace with assert.) Since this gets rid
of the only way for buildShadowTree to return false, change the return-
type to 'void' and simplify accordingly.
BUG=589682
Committed: https://crrev.com/c60a0e23cf1b1f656692ac49dbbf3aad45869722
Cr-Commit-Position: refs/heads/master@{#378504}
Patch Set 1 #
Dependent Patchsets: Messages
Total messages: 8 (3 generated)
|