Simplify the SVGTransformList.consolidate implementation
Since SVGTransformListTearOff::consolidate() is the business logic of this method, we can implement the specific logic there rather than in SVGTransformList. With that also drop the IsEmpty() check from it return the resulting AffineTransform instead of using an out- variable. SVGTransformList: :Concatenate() - leaving that to the callers - and have Change-Id: I25c80f7ae222f48fafecccd876a2cd79d57004e8 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2218021Reviewed-by:Stephen Chenney <schenney@chromium.org> Commit-Queue: Fredrik Söderquist <fs@opera.com> Cr-Commit-Position: refs/heads/master@{#773093}
Showing
Please register or sign in to comment