Add TransformedHitTestLocation helper
This moves code for transforming a HitTestLocation using with an AffineTransform from the helper function SVGLayoutSupport::TransformToUserSpaceAndCheckClipping into a helper class TransformedHitTestLocation. Calls to SVGLayoutSupport::IntersectsClipPath are hoisted into callers and SVGLayoutSupport::TransformToUserSpaceAndCheckClipping is removed. Change-Id: I52f95ba2480df86a509285c2ec2edea776517bc6 Reviewed-on: https://chromium-review.googlesource.com/c/1282930Reviewed-by:Chris Harrelson <chrishtr@chromium.org> Commit-Queue: Fredrik Söderquist <fs@opera.com> Cr-Commit-Position: refs/heads/master@{#601099}
Showing
Please register or sign in to comment