commit | aeaac1ae285a2e214cd99dd5f743e77217b1fdeb | [log] [tgz] |
---|---|---|
author | Vlad Krot <vkrot@google.com> | Mon Feb 10 16:53:52 2025 |
committer | Chromium LUCI CQ <chromium-scoped@luci-project-accounts.iam.gserviceaccount.com> | Mon Feb 10 16:53:52 2025 |
tree | 2697ae2042e8e674971c553ac299b708d44183fa | |
parent | c2e09bbde779d5fdb837a51a221d07c918ad76eb [diff] |
use make_unique instead of constructor make_unique is the newer c++ feature which as advantage has the following property: the memory allocated and object created by make_unique will never be orphaned no matter what, even in case of exceptions. Plus removed reinterpret cast. Bug: 394835131 Change-Id: Id07eaad234bf92e9e616aa646f8fee90655eb7c3 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/6239717 Reviewed-by: Andrew Rayskiy <greengrape@google.com> Commit-Queue: Vlad Krot <vkrot@google.com> Reviewed-by: Michael Ershov <miersh@google.com> Cr-Commit-Position: refs/heads/main@{#1418187}
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.