Refactor LayoutSVGResourceGradient::PreparePaintServer
Split said method into two - one that does a cache lookup and one that builds the GradientData. Reorder the code a bit to eliminate the redundant check for an empty object bounding box. Bug: 109212 Change-Id: If9bdf1d771478d208debbdddf33188b5db28cf62 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2060956Reviewed-by:Stephen Chenney <schenney@chromium.org> Commit-Queue: Fredrik Söderquist <fs@opera.com> Cr-Commit-Position: refs/heads/master@{#742140}
Showing
Please register or sign in to comment