commit | acbc9aefd1965ba8425abe034f32b2ae7678c66b | [log] [tgz] |
---|---|---|
author | Sylvain Defresne <sdefresne@chromium.org> | Fri May 17 05:15:21 2019 |
committer | Commit Bot <commit-bot@chromium.org> | Fri May 17 05:15:21 2019 |
tree | d1ee53186685f9061b6631d0e82e49a37a907ff8 | |
parent | 90f424b49ba1c92bea5bc5fe72143d9d2359e9fc [diff] |
Remove unnecessary base::Passed() with base::BindOnce() The documentation on base::Callback<...> (src/docs/callback.md) recommends against using base::Passed(...) with base::BindOnce. > Avoid using `base::Passed()` with `base::BindOnce()`, as `std::move()` > does the same thing and is more familiar. Also convert uses of base::Bind() that can be trivially converted to use base::BindOnce() so that the base::Passed() can be removed from the binding. This CL was uploaded by git cl split. Bug: 812523 Change-Id: I575592bb0d3d316f47c4e654f800ee51f66f2538 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1611883 Commit-Queue: Satoru Takabayashi <satorux@chromium.org> Reviewed-by: Satoru Takabayashi <satorux@chromium.org> Auto-Submit: Sylvain Defresne <sdefresne@chromium.org> Cr-Commit-Position: refs/heads/master@{#660735}
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.
Documentation in the source is rooted in docs/README.md.
Learn how to Get Around the Chromium Source Code Directory Structure .