Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Right now when we use CSS paint to paint the background-image, and have background-repeat specified, our implementation cannot handle that because PaintWorkletDeferredImage doesn't implement DrawPattern. Currently the code path goes into the GeneratedImage::DrawPattern and that cannot handle the off-thread case. This CL implements DrawPattern for off-thread paint worklet, and two layout tests are passing with it. Another layout test is added for additional testing. Bug: 957457 Change-Id: I707b4d8e47a6bcd747156e60f1860c1ecdae22e0 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1691090 Reviewed-by: Khushal <[email protected]> Reviewed-by: Rune Lillesveen <[email protected]> Reviewed-by: Kentaro Hara <[email protected]> Reviewed-by: Stephen Chenney <[email protected]> Commit-Queue: Xida Chen <[email protected]> Cr-Commit-Position: refs/heads/master@{#684594}
- Loading branch information