commit | 2478049adcb1ad5a0a742afef07d94523c94fbe7 | [log] [tgz] |
---|---|---|
author | Jihad Hanna <jihadghanna@google.com> | Mon Sep 01 13:45:56 2025 |
committer | Chromium LUCI CQ <chromium-scoped@luci-project-accounts.iam.gserviceaccount.com> | Mon Sep 01 13:45:56 2025 |
tree | 1ab2353e9c6b67889979e4cd7284c6dc388f5866 | |
parent | ec97dfc115126b0f665b7df9ae291d95c64b5ab6 [diff] |
Modify the construction of updated entities Prior to this CL, attributes were added from the merge attempt and then all attributes of the old entity were also added, duplicating the attributes that were mergeable. Merging probably worked before because upon constructing passing the list of attributes to the `EntityInstance` constructor, the list was converted to a `flat_set`, and the constructor could probably be implemented in a way to discard subsequent duplicates. This CL changes this logic and explicitly discards old mergeable attributes to not rely on the `flat_set` construction, which could change. Bug: 436813697 Change-Id: I938bb79b093fe25a1bf5cefc4100a1998fdc31e8 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/6903138 Reviewed-by: Jan Keitel <jkeitel@google.com> Commit-Queue: Jihad Hanna <jihadghanna@google.com> Cr-Commit-Position: refs/heads/main@{#1509173}
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.