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
|
@ -53,8 +53,8 @@ AutofillAgent::AutofillAgent(content::RenderFrame* frame,
|
|||
blink::AssociatedInterfaceRegistry* registry)
|
||||
: content::RenderFrameObserver(frame), weak_ptr_factory_(this) {
|
||||
render_frame()->GetWebFrame()->SetAutofillClient(this);
|
||||
registry->AddInterface(
|
||||
base::Bind(&AutofillAgent::BindReceiver, base::Unretained(this)));
|
||||
registry->AddInterface(base::BindRepeating(&AutofillAgent::BindReceiver,
|
||||
base::Unretained(this)));
|
||||
}
|
||||
|
||||
AutofillAgent::~AutofillAgent() = default;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue