Use the same spread application for both inner and outer box shadows
Move the logic from PaintNormalBoxShadow() into a helper function (ApplySpreadToShadowShape) and call that from PaintInsetBoxShadow() as well (with the specified spread negated). Bug: 1159514 Change-Id: I9cf91deaa998c5d1db23f0cad569697214fb493d Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2624209Reviewed-by:Stephen Chenney <schenney@chromium.org> Commit-Queue: Fredrik Söderquist <fs@opera.com> Cr-Commit-Position: refs/heads/master@{#842539}
Showing
Please register or sign in to comment