refactor: replace base::Bind() with base::BindOnce() / base::BindRepeating() (#27447)
This commit is contained in:
parent
b11c5533e8
commit
949fd0728f
10 changed files with 24 additions and 22 deletions
|
@ -132,7 +132,7 @@ void MessagePort::Entangle(blink::MessagePortDescriptor port) {
|
|||
connector_->PauseIncomingMethodCallProcessing();
|
||||
connector_->set_incoming_receiver(this);
|
||||
connector_->set_connection_error_handler(
|
||||
base::Bind(&MessagePort::Close, weak_factory_.GetWeakPtr()));
|
||||
base::BindOnce(&MessagePort::Close, weak_factory_.GetWeakPtr()));
|
||||
if (HasPendingActivity())
|
||||
Pin();
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue