Part I: Move from base::Bind to base::BindOnce and remove unneeded base::Passed (#12661)
This commit is contained in:
parent
fcc82ebd35
commit
ff571f3b5d
26 changed files with 143 additions and 135 deletions
|
@ -71,7 +71,7 @@ class EventSubscriber : internal::EventSubscriberBase {
|
|||
ptr->handler_ = nullptr;
|
||||
content::BrowserThread::PostTask(
|
||||
content::BrowserThread::UI, FROM_HERE,
|
||||
base::Bind(
|
||||
base::BindOnce(
|
||||
[](EventSubscriber<HandlerType>* subscriber) {
|
||||
{
|
||||
// It is possible that this function will execute in the UI
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue