commit | 9c9a1794abf9444f1caa0f44afc728ca86c61d13 | [log] [tgz] |
---|---|---|
author | Oriol Brufau <obrufau@igalia.com> | Fri Jan 22 19:15:46 2021 |
committer | Chromium LUCI CQ <chromium-scoped@luci-project-accounts.iam.gserviceaccount.com> | Fri Jan 22 19:15:46 2021 |
tree | d490420e757574d4a7bdd6d43bed769cbfdfc004 | |
parent | e96b92d404d0371c9223c0b88789b1519c30d954 [diff] |
[css-logical] Fix perf regression in cssom "set a CSS declaration" r834202 changed MutableCSSPropertyValueSet::SetProperty so that, when changing the value of a property that belongs to a logical property group, which is followed by a property in the same logical property group but opposite mapping logic, the changed property is moved to the end, to ensure it takes precedence. However, this regressed the CSSPropertyUpdateValue perf test. This patch adds a may_have_logical_properties_ flag. When false, it means the MutableCSSPropertyValueSet has no logical property, so we can skip the extra work added in r834202. Bug: 1156321 Change-Id: I4ab6d92cf51126bcab16ffa9635bf91c98d6f738 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2640097 Reviewed-by: Anders Hartvoll Ruud <andruud@chromium.org> Reviewed-by: Rune Lillesveen <futhark@chromium.org> Commit-Queue: Oriol Brufau <obrufau@igalia.com> Cr-Commit-Position: refs/heads/master@{#846231}
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.