A new static assertion has been added upstream and otherwise the
build will fail for Linux now, as well as for other platforms in
the next release.
Chromium change:
https://source.chromium.org/chromium/chromium/src/+/ad0da8ebec488b6b3696b44d2da80744f8a90d17https://source.chromium.org/chromium/chromium/src/+/63714a9ffe267a0212f4120a188f45408555a993
commit ad0da8ebec488b6b3696b44d2da80744f8a90d17
Author: Daniel Cheng <dcheng@chromium.org>
Date: Mon Feb 22 21:07:22 2021 +0000
Disallow base::Passed() from being used with base::BindOnce().
The assert is currently only enabled on OS_LINUX. Platforms will be
incrementally fixed until the assert is enabled everywhere.
Bug: 1180750
commit 63714a9ffe267a0212f4120a188f45408555a993
Author: Daniel Cheng <dcheng@chromium.org>
Date: Fri Feb 26 09:51:28 2021
[base] Disallow base::BindOnce() + base::Passed() use on iOS.
std::move() and base::Passed() mean the same thing for base::BindOnce(),
so use the standard library idiom instead.
Bug: 1180750