Move GraphicsContext::DrawInnerShadow to BoxPainterBase
Move said method, mostly verbatim, to BoxPainterBase, inlining it in BoxPainterBase::PaintInsetBoxShadow. The side clipping setup is merged with the actual computation, and thus work directly with the |sides_to_include| parameter. The "hole" naming is replaced with "inner" to better match spec terms. Bug: 1159514 Change-Id: I09168a527b0978c717160b325c16d5e090be5192 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2620802Reviewed-by:Stephen Chenney <schenney@chromium.org> Commit-Queue: Fredrik Söderquist <fs@opera.com> Cr-Commit-Position: refs/heads/master@{#842054}
Showing
Please register or sign in to comment