commit | 38d16961dec4d49ab3a8b17250b6c78bb08c28ad | [log] [tgz] |
---|---|---|
author | Kent Tamura <tkent@chromium.org> | Mon May 02 04:09:27 2022 |
committer | Chromium LUCI CQ <chromium-scoped@luci-project-accounts.iam.gserviceaccount.com> | Mon May 02 04:09:27 2022 |
tree | becb40208056cc51f420b08ce8b587ef3ec6dd8b | |
parent | fa9bb081209520cbf44454d27a78eb857b36bc25 [diff] |
DeferredShaping: Do not compute disallow conditions repeatedly Once one of the following conditions becomes |false|, it never gets back to |true|. So we can cache their result to default_allow_deferred_shaping_. - RuntimeEnabledFeatures::DeferredShapingEnabled() - !frame_->PagePopupOwner() - !FirstMeaningfulPaintDetector::From().SeenFirstMeaningfulPaint() This CL has no user-visible behavior changes. Bug: 1259085 Change-Id: Ia9c5c790539157acce6f29d2fa3f1d8d58979175 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3619973 Auto-Submit: Kent Tamura <tkent@chromium.org> Reviewed-by: Koji Ishii <kojii@chromium.org> Commit-Queue: Koji Ishii <kojii@chromium.org> Cr-Commit-Position: refs/heads/main@{#998236}
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.