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. This CL was uploaded by git cl split. Bug: 812523 Change-Id: I8208222c6d2dd1a1f26fef2725aabf2114febb23 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1611827 Commit-Queue: Tao Wu <wutao@chromium.org> Reviewed-by:Tao Wu <wutao@chromium.org> Auto-Submit: Sylvain Defresne <sdefresne@chromium.org> Cr-Commit-Position: refs/heads/master@{#661153}
Showing
Please register or sign in to comment