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
|
@ -171,9 +171,9 @@ int ResponseWriter::Write(net::IOBuffer* buffer,
|
|||
|
||||
content::BrowserThread::PostTask(
|
||||
content::BrowserThread::UI, FROM_HERE,
|
||||
base::Bind(&InspectableWebContentsImpl::CallClientFunction, bindings_,
|
||||
"DevToolsAPI.streamWrite", base::Owned(id), base::Owned(chunk),
|
||||
nullptr));
|
||||
base::BindOnce(&InspectableWebContentsImpl::CallClientFunction, bindings_,
|
||||
"DevToolsAPI.streamWrite", base::Owned(id),
|
||||
base::Owned(chunk), nullptr));
|
||||
return num_bytes;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue