commit | aa7c84555637cabd3fdb0c03d781cc6f72b9efa2 | [log] [tgz] |
---|---|---|
author | Xida Chen <xidachen@chromium.org> | Wed Jun 26 23:57:49 2019 |
committer | Commit Bot <commit-bot@chromium.org> | Wed Jun 26 23:57:49 2019 |
tree | 672496303f5a77554467dd01c87bffb4c996b1d8 | |
parent | 7a2c82c86a9c9d64a9670599e7cb455c9c696d06 [diff] |
[PW] Fix paint worklet canvas clip bound calculation Right now when we initialize the paint canvas for paint worklet with a scale factor or browser zoom, we do not record the zoom factor in the canvas transform. As a result, when computing the clip bound we will apply the wrong transformation matrix and thus sometimes the contents can be completely clipped out while it should not. This CL fixes the problem and adds a layout test. Bug: 970783 Change-Id: Ie3709ea5845ca2b405245d4b36f9fe8f99052bad Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1678287 Reviewed-by: Stephen McGruer <smcgruer@chromium.org> Commit-Queue: Xida Chen <xidachen@chromium.org> Cr-Commit-Position: refs/heads/master@{#672722}
Chromium is an open-source browser project that aims to build a safer, faster, and more stable way for all users to experience the web.
The project's web site is https://www.chromium.org.
Documentation in the source is rooted in docs/README.md.
Learn how to Get Around the Chromium Source Code Directory Structure .