| Index: components/autofill/content/renderer/autofill_agent.h
|
| diff --git a/components/autofill/content/renderer/autofill_agent.h b/components/autofill/content/renderer/autofill_agent.h
|
| index 1257791faa99b00abb18f3ca9f752918c2d333b3..9c9b9ffc0ca2036c8199add05aa0f30465fc0548 100644
|
| --- a/components/autofill/content/renderer/autofill_agent.h
|
| +++ b/components/autofill/content/renderer/autofill_agent.h
|
| @@ -67,6 +67,10 @@ class AutofillAgent : public content::RenderFrameObserver,
|
| LegacyAutofillAgent(content::RenderView* render_view, AutofillAgent* agent);
|
| ~LegacyAutofillAgent() override;
|
|
|
| + // Shuts the LegacyAutofillAgent down on RenderFrame deletion. Safe to call
|
| + // multiple times.
|
| + void Shutdown();
|
| +
|
| private:
|
| // content::RenderViewObserver:
|
| void OnDestruct() override;
|
| @@ -115,6 +119,11 @@ class AutofillAgent : public content::RenderFrameObserver,
|
| void WillSubmitForm(const blink::WebFormElement& form) override;
|
| void DidChangeScrollOffset() override;
|
| void FocusedNodeChanged(const blink::WebNode& node) override;
|
| + void OnDestruct() override;
|
| +
|
| + // Shuts the AutofillAgent down on RenderFrame deletion. Safe to call multiple
|
| + // times.
|
| + void Shutdown();
|
|
|
| // Pass-through from LegacyAutofillAgent. This correlates with the
|
| // RenderViewObserver method.
|
|
|