Document invariants in SVGUseElement::BuildPendingResource
When a <use> is scheduled to have its shadow tree built it should be connected to the document and be the outermost <use>. The Element it references should also be connected to the document (if it exists). Simplify the code according to the above and add DCHECKs. Bug: 997176 Change-Id: I4e9954df674b1dfdc5c1e674ea81df2f6e84d5da Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1768522Reviewed-by:Philip Rogers <pdr@chromium.org> Commit-Queue: Fredrik Söderquist <fs@opera.com> Cr-Commit-Position: refs/heads/master@{#690391}
Showing
Please register or sign in to comment