commit | 785e40b292d7769cbd27cbc78f173f434e3375b6 | [log] [tgz] |
---|---|---|
author | Aditya Sharma <a2.sharma@samsung.com> | Fri Sep 22 18:25:24 2023 |
committer | Chromium LUCI CQ <chromium-scoped@luci-project-accounts.iam.gserviceaccount.com> | Fri Sep 22 18:25:24 2023 |
tree | 1b17a8ee559329cc44b7b11dbcca33fc3472693e | |
parent | d3ccd069f4ac73d167810c401960bf3285c44fab [diff] |
Use base::EraseIf() This patch is just a code simplification. It's much easier to write: base::EraseIf(container, ...); than: container.erase(std::remove_if(container.begin(), container.end(), ...), container.end()); Bug: 875665 Change-Id: I099304b13682f73d3fff214314ffa7c5d886bd45 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/4881791 Reviewed-by: Yao Xiao <yaoxia@chromium.org> Commit-Queue: Yao Xiao <yaoxia@chromium.org> Cr-Commit-Position: refs/heads/main@{#1200365}
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.