refactor: use C++11 class member variable initialization (#27477)
This commit is contained in:
parent
f083380c38
commit
ddf3ef0a5f
93 changed files with 130 additions and 163 deletions
|
@ -51,7 +51,7 @@ void TrimStringVectorForIPC(std::vector<base::string16>* strings) {
|
|||
|
||||
AutofillAgent::AutofillAgent(content::RenderFrame* frame,
|
||||
blink::AssociatedInterfaceRegistry* registry)
|
||||
: content::RenderFrameObserver(frame), weak_ptr_factory_(this) {
|
||||
: content::RenderFrameObserver(frame) {
|
||||
render_frame()->GetWebFrame()->SetAutofillClient(this);
|
||||
registry->AddInterface(base::BindRepeating(&AutofillAgent::BindReceiver,
|
||||
base::Unretained(this)));
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue