commit | 6e391effd83750b0fcfd356461aec54f4c6fa860 | [log] [tgz] |
---|---|---|
author | Oriol Brufau <obrufau@igalia.com> | Thu Apr 15 18:45:21 2021 |
committer | Chromium LUCI CQ <chromium-scoped@luci-project-accounts.iam.gserviceaccount.com> | Thu Apr 15 18:45:21 2021 |
tree | 93c6c8e4b8661b41f11dc46ae2a3dbcdda2c1d66 | |
parent | 21722d52e27fe8f3edf253ea51096181cbdd7550 [diff] |
[cc] Allow LCD text for non-uniform scales In r872117 I added support for non-uniform scales, but I made a mistake in PictureLayerImpl::CalculateRasterTranslation. The code would compare each scale component of the transform matrix with each component of the raster contents scale, returning false for non-uniform scales, thus avoiding LCD text. This patch compares X scales with X scales, and Y scales with Y scales. Bug: 1119996 TEST=LegacySWPictureLayerImplTest.UpdateLCDTextPushToActiveTreeWith2dScale Change-Id: Id9029be2a2c49232a8b1609d1f6e16b3142d89ba Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2825899 Reviewed-by: Xianzhu Wang <wangxianzhu@chromium.org> Commit-Queue: Oriol Brufau <obrufau@igalia.com> Cr-Commit-Position: refs/heads/master@{#872974}
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.
To check out the source code locally, don't use git clone
! Instead, follow the instructions on how to get the code.
Documentation in the source is rooted in docs/README.md.
Learn how to Get Around the Chromium Source Code Directory Structure .
For historical reasons, there are some small top level directories. Now the guidance is that new top level directories are for product (e.g. Chrome, Android WebView, Ash). Even if these products have multiple executables, the code should be in subdirectories of the product.