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
|
@ -431,8 +431,8 @@ bool NotificationCallbackWrapper(
|
|||
} else {
|
||||
scoped_refptr<base::SingleThreadTaskRunner> task_runner(
|
||||
base::ThreadTaskRunnerHandle::Get());
|
||||
task_runner->PostTask(FROM_HERE,
|
||||
base::Bind(base::IgnoreResult(callback), cmd, cwd));
|
||||
task_runner->PostTask(
|
||||
FROM_HERE, base::BindOnce(base::IgnoreResult(callback), cmd, cwd));
|
||||
}
|
||||
// ProcessSingleton needs to know whether current process is quiting.
|
||||
return !Browser::Get()->is_shutting_down();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue