DescriptionSimplify SVGResourcesCycleSolver::resourceContainsCycles
Modify the child traversal to use pre-order. This allows the case
for |renderer| to be sunk into the loop, reducing the amount of
code somewhat.
This also fixes a bug where the child traversal would not traverse its
the children of node that did not reference any resources.
BUG=351713
Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=174862
Patch Set 1 #Patch Set 2 : Fold the method; Use pre-order traversal to avoid recursion. #
Messages
Total messages: 6 (0 generated)
|