commit | c9ee0b7801091b40b63ff8d31981981e960a9deb | [log] [tgz] |
---|---|---|
author | Andrew Xu <andrewxu@chromium.org> | Thu Mar 11 20:48:12 2021 |
committer | Chromium LUCI CQ <chromium-scoped@luci-project-accounts.iam.gserviceaccount.com> | Thu Mar 11 20:48:12 2021 |
tree | 8d5a1fb6e0d4876fe1fe425f208e2ce7858b25d6 | |
parent | 76701af033ee87f52ef99c7648cbec00bc95979b [diff] |
[Multipaste] Use proper device scale factor for rendered image The image rendered from HTML does not have the correct scale factor now. It is exposed by the ImageView which always resizes the image to the current scale factor. Note that the rendered image may be big. As a result, the image resize operation could be expensive. This CL ensures that the rendered image is associated with the correct device scale factor. Bug: 1184965 Change-Id: I2ab05bd92828a8b45f17b89f1ba18efc1c644eaa Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2750463 Reviewed-by: Xiyuan Xia <xiyuan@chromium.org> Reviewed-by: Peter Kasting <pkasting@chromium.org> Commit-Queue: Andrew Xu <andrewxu@chromium.org> Cr-Commit-Position: refs/heads/master@{#862113}
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.