| Index: chrome/browser/extensions/api/messaging/native_process_launcher.cc
|
| diff --git a/chrome/browser/extensions/api/messaging/native_process_launcher.cc b/chrome/browser/extensions/api/messaging/native_process_launcher.cc
|
| index 0f52fa5c5838238e0fdcf5389270ec0fadc26920..a7a0a822b3e0e754805132076fb8025f98775012 100644
|
| --- a/chrome/browser/extensions/api/messaging/native_process_launcher.cc
|
| +++ b/chrome/browser/extensions/api/messaging/native_process_launcher.cc
|
| @@ -110,8 +110,8 @@ void NativeProcessLauncherImpl::Core::Launch(
|
| base::PostTaskWithTraits(FROM_HERE,
|
| base::TaskTraits().MayBlock().WithPriority(
|
| base::TaskPriority::USER_VISIBLE),
|
| - base::Bind(&Core::DoLaunchOnThreadPool, this, origin,
|
| - native_host_name, callback));
|
| + base::BindOnce(&Core::DoLaunchOnThreadPool, this,
|
| + origin, native_host_name, callback));
|
| }
|
|
|
| void NativeProcessLauncherImpl::Core::DoLaunchOnThreadPool(
|
| @@ -227,9 +227,9 @@ void NativeProcessLauncherImpl::Core::PostErrorResult(
|
| LaunchResult error) {
|
| content::BrowserThread::PostTask(
|
| content::BrowserThread::IO, FROM_HERE,
|
| - base::Bind(&NativeProcessLauncherImpl::Core::CallCallbackOnIOThread, this,
|
| - callback, error, Passed(base::Process()),
|
| - Passed(base::File()), Passed(base::File())));
|
| + base::BindOnce(&NativeProcessLauncherImpl::Core::CallCallbackOnIOThread,
|
| + this, callback, error, Passed(base::Process()),
|
| + Passed(base::File()), Passed(base::File())));
|
| }
|
|
|
| void NativeProcessLauncherImpl::Core::PostResult(
|
| @@ -239,9 +239,9 @@ void NativeProcessLauncherImpl::Core::PostResult(
|
| base::File write_file) {
|
| content::BrowserThread::PostTask(
|
| content::BrowserThread::IO, FROM_HERE,
|
| - base::Bind(&NativeProcessLauncherImpl::Core::CallCallbackOnIOThread, this,
|
| - callback, RESULT_SUCCESS, Passed(&process),
|
| - Passed(&read_file), Passed(&write_file)));
|
| + base::BindOnce(&NativeProcessLauncherImpl::Core::CallCallbackOnIOThread,
|
| + this, callback, RESULT_SUCCESS, Passed(&process),
|
| + Passed(&read_file), Passed(&write_file)));
|
| }
|
|
|
| NativeProcessLauncherImpl::NativeProcessLauncherImpl(
|
|
|