commit | 6f00d263dd987bbcb0749d3d02a3518b18d2581c | [log] [tgz] |
---|---|---|
author | Daniel Cheng <dcheng@chromium.org> | Mon Feb 22 04:05:30 2021 |
committer | Chromium LUCI CQ <chromium-scoped@luci-project-accounts.iam.gserviceaccount.com> | Mon Feb 22 04:05:30 2021 |
tree | 5a29b12b76141c2c452ae05bd1d87c1613df8309 | |
parent | e842e7438e94b740e7856d088ff787178ba051a2 [diff] |
[blink] Remove most WTF::Passed() usage in platform. The WTF::Passed() implementation allows unsafe callbacks to be created. In Blink, its usage should largely be unnecessary. WTF::Bind() creates a OnceCallback, so std::move() works fine. WTF::BindRepeating() creates a repeating callback, but using WTF::Passed() is undesirable, since the underlying callback usually ends up being a OnceCallback in disguise. Bug: 1180103 Change-Id: I90bb0de96706a757789f641c18b35164f3ef42b9 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2711011 Commit-Queue: Daniel Cheng <dcheng@chromium.org> Commit-Queue: Kent Tamura <tkent@chromium.org> Auto-Submit: Daniel Cheng <dcheng@chromium.org> Reviewed-by: Kent Tamura <tkent@chromium.org> Cr-Commit-Position: refs/heads/master@{#856173}
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.