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
|
@ -117,9 +117,9 @@ bool AtomResourceDispatcherHostDelegate::HandleExternalProtocol(
|
|||
const GURL& url,
|
||||
content::ResourceRequestInfo* info) {
|
||||
BrowserThread::PostTask(BrowserThread::UI, FROM_HERE,
|
||||
base::Bind(&HandleExternalProtocolInUI, url,
|
||||
info->GetWebContentsGetterForRequest(),
|
||||
info->HasUserGesture()));
|
||||
base::BindOnce(&HandleExternalProtocolInUI, url,
|
||||
info->GetWebContentsGetterForRequest(),
|
||||
info->HasUserGesture()));
|
||||
return true;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue