commit | 67c8f16da7999524e2eddb2f9a005720c19cfb94 | [log] [tgz] |
---|---|---|
author | Peter Boström <pbos@chromium.org> | Thu Jun 23 21:58:29 2022 |
committer | Chromium LUCI CQ <chromium-scoped@luci-project-accounts.iam.gserviceaccount.com> | Thu Jun 23 21:58:29 2022 |
tree | e4926b06f26f76e5adeb06e77ed7e38e5568e668 | |
parent | 99a8092d711a98cb7afa41e9c8d06398a1ff72f6 [diff] |
Make CheckError immutable This marks log_message_ const but more importantly it removes CheckError's scary defaulted move constructors that if ever used (not RVO'd) would be UB (double delete) as two ~CheckError would eventually delete the same log_message_. Bug: None Change-Id: Ic6717c3dc466666c9b7adef897d8ff4f91b99fda Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3721089 Commit-Queue: Peter Boström <pbos@chromium.org> Reviewed-by: danakj <danakj@chromium.org> Cr-Commit-Position: refs/heads/main@{#1017363}
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.