Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(50)

Unified Diff: components/autofill/content/renderer/password_generation_agent.h

Issue 1960023002: Destroy (Password)AutofillAgent safely (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@2704
Patch Set: Created 4 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: components/autofill/content/renderer/password_generation_agent.h
diff --git a/components/autofill/content/renderer/password_generation_agent.h b/components/autofill/content/renderer/password_generation_agent.h
index 82cdf5ee8a944d121ae1f84fc32f35627e631b32..7a43f13aeb5d751210d3b7a141ce7bcc1efd3fd3 100644
--- a/components/autofill/content/renderer/password_generation_agent.h
+++ b/components/autofill/content/renderer/password_generation_agent.h
@@ -78,6 +78,7 @@ class PasswordGenerationAgent : public content::RenderFrameObserver {
// RenderFrameObserver:
void DidFinishDocumentLoad() override;
+ void OnDestruct() override;
// Message handlers.
void OnFormNotBlacklisted(const PasswordForm& form);

Powered by Google App Engine
This is Rietveld 408576698