Fix Incorrect Shadow Blur
When a pattern (with a transparent background) is used to fill or stroke a rect, the ShadowBlur is incorrectly applied to the rect mask instead of the pattern itself. This is fixed by setting the last param of BaseRenderingContext2D:: Draw() to kNonOpaqueImage when the rect is drawn with a pattern. Bug: 1020183 Change-Id: I62ae4e298185eb5b7699c2dbf4b9ad962939e464 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2219416Reviewed-by:Fernando Serboncini <fserb@chromium.org> Reviewed-by:
Aaron Krajeski <aaronhk@chromium.org> Reviewed-by:
Juanmi Huertas <juanmihd@chromium.org> Commit-Queue: Teresa Kang <teresakang@google.com> Cr-Commit-Position: refs/heads/master@{#775121}
Showing
Please register or sign in to comment