commit | 3e543444ce88d37886303195944ab902779e3375 | [log] [tgz] |
---|---|---|
author | Kurt Catti-Schmidt (SCHMIDT) <kschmi@microsoft.com> | Mon Apr 21 20:53:42 2025 |
committer | Chromium LUCI CQ <chromium-scoped@luci-project-accounts.iam.gserviceaccount.com> | Mon Apr 21 20:53:42 2025 |
tree | 33c530b5eef413468f2f286e369a0bda9f6c613c | |
parent | dec31df76d08cc9d7bb4030cffe2af6c0553d5a1 [diff] |
[gap-decorations] Minor cleanups in BuildGapIntersectionPoints This change optimizes array lookups in BuildGapIntersectionPoints for both performance and readability. A duplicated array access is eliminated via use of the `GapIntersection` constructor that takes a boolean for `is_at_edge_of_container`. Repeated multi-dimensional accesses use a variable for the first dimension, optimizing repeated lookups. No behavioral changes are expected. Bug: 357648037 Change-Id: Iabe7df91a52d76071ee2abd600bb4b2be33d4262 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/6472887 Reviewed-by: Sam Davis Omekara <samomekarajr@microsoft.com> Commit-Queue: Kurt Catti-Schmidt <kschmi@microsoft.com> Reviewed-by: Alison Maher <almaher@microsoft.com> Cr-Commit-Position: refs/heads/main@{#1449596}
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.