Clean up and simplify SVGContentContainer::UpdateBoundingBoxes()
Replace VisualRectInLocalSVGCoordinates() with StrokeBoundingBox() since they are now returning the same value. Drop the out-of-date comment for the same reason. This also means that the special treatment of containers can also be simplified to just consider if the object bounding box is valid. Bug: 1028061 Change-Id: Ic0bcdc5376f253980dbf2448a5ad6330fea414b0 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2517527Reviewed-by:Stephen Chenney <schenney@chromium.org> Commit-Queue: Fredrik Söderquist <fs@opera.com> Cr-Commit-Position: refs/heads/master@{#824122}
Showing
Please register or sign in to comment