[CI] Cleanup some SVG hit-testing code
...mostly by de-indenting it by reversing the visibility-check. Also reuse ComputedStyle locals and switch to using a ComputedStyle&. In LayoutSVGShape::NodeAtFloatPointInternal, the large-ish condition is split into three slightly smaller. Change-Id: I275081391a3b399f9887215f4fe3075884de103c Reviewed-on: https://chromium-review.googlesource.com/995674Reviewed-by:Philip Rogers <pdr@chromium.org> Commit-Queue: Fredrik Söderquist <fs@opera.com> Cr-Commit-Position: refs/heads/master@{#548154}
Showing
Please register or sign in to comment