commit | 3c12333c57360f96ec734de0e6f3a557cb99a7e6 | [log] [tgz] |
---|---|---|
author | Xiaocheng Hu <[email protected]> | Fri Jun 24 20:44:57 2022 |
committer | Chromium LUCI CQ <[email protected]> | Fri Jun 24 20:44:57 2022 |
tree | 95e9fbde52b6f11ee2c325eb204cd6e8dfb912df | |
parent | 0c70b8a29e2f01bb1f9e9cfd8f714c9ba4aa9785 [diff] |
Don't create duplicate switches when using ScopedAddFeatureFlags Currently, ScopedAddFeatureFlags simply appends --enable-features and --disable-features switches to the command line. If the command line already have these switches, then it will end up with duplicate switches. This patch fixes it by removing the old switches (if any) before appending new switch values. Fixed: 1338872 Change-Id: I26a1a6eb8331d2e51a58e148af01f351de920f20 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3722815 Commit-Queue: Xiaocheng Hu <[email protected]> Reviewed-by: Daniel Cheng <[email protected]> Cr-Commit-Position: refs/heads/main@{#1017800}
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.