commit | cabd1e92d2649d7853e74b35e35f02a40e45aa3e | [log] [tgz] |
---|---|---|
author | Patrick Noland <pnoland@google.com> | Tue Apr 11 18:31:28 2023 |
committer | Chromium LUCI CQ <chromium-scoped@luci-project-accounts.iam.gserviceaccount.com> | Tue Apr 11 18:31:28 2023 |
tree | c6f8a41464ad3f3b502f5979b94f9d59a8dd2a41 | |
parent | c76ad93d92c74d844f885a20157146d1c6a3b7c6 [diff] |
Don't set selectable background if existing bg is already correct Using a cached ConstantState is faster than loading from scratch, but doing nothing at all is faster still. This was over twice as fast in local tracing and saved ~0.8ms per suggestion list layout (64ms saved / 75 layouts) Bug: 1430911 Change-Id: I35043564f2636367b0ad4bea943b5852c6cfbe08 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/4408998 Reviewed-by: Tomasz Wiszkowski <ender@google.com> Commit-Queue: Patrick Noland <pnoland@chromium.org> Cr-Commit-Position: refs/heads/main@{#1128781}
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.
If you found a bug, please file it at https://crbug.com/new.