commit | 7ad01a4664cf205cbaf714b6fa5d4d4777acb5f3 | [log] [tgz] |
---|---|---|
author | Anders Hartvoll Ruud <andruud@chromium.org> | Thu Oct 20 16:00:36 2022 |
committer | Chromium LUCI CQ <chromium-scoped@luci-project-accounts.iam.gserviceaccount.com> | Thu Oct 20 16:00:36 2022 |
tree | 083bbb707728c1c0d804d4dfa465da08199584af | |
parent | 306e06cd34b5761b04da3b65c5159617159b67a5 [diff] |
Don't generate Apply-functions for surrogates and logical properties Having lots of code for surrogate Apply functions isn't useful anymore, since there's a general way to resolve surrogates before the Apply step. StyleCascade already does this, but there are other call-sites (e.g. from animations) which still call StyleBuilder with surrogate properties. Therefore this CL changes ApplyProperty to resolve surrogates in the general case, but also offers ApplyPhysicalProperty which is more efficient if the incoming property is guaranteed to be a non-surrogate. Change-Id: I883cacf0c3ed718194fb9ccc58314c89be1fd640 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3963068 Commit-Queue: Anders Hartvoll Ruud <andruud@chromium.org> Reviewed-by: Steinar H Gunderson <sesse@chromium.org> Cr-Commit-Position: refs/heads/main@{#1061627}
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.