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 1946143002: Destroy (Password)AutofillAgent safely (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Also setChecked 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 1b3d36d5325142f992633331e96fc6f0110dadac..57e2bd1b496529dd2284ebb1e40e4588702a3620 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