DescriptionDecouple content transform fiddling from SVGRenderingContext::renderSubtree
The "content transform" is essentially a property of the call-site, and
is hence invariant for a sequence of calls to renderSubtree.
This means we ought to be able to save-mutate-restore (SMR) once per
call-site, and not per call to renderSubtree. Achieve this by moving the
SMR to a helper SubtreeContentTransformScope, and then instantiate objects
where needed.
This means the transform-logistics can be cleaned up a bit for some of the
callers.
BUG=420022
Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=184245
Patch Set 1 #
Messages
Total messages: 6 (2 generated)
|