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

Unified Diff: components/password_manager/content/browser/visible_password_observer.h

Issue 2500213002: Track visible password fields by RenderFrameHost, not frame tree node (Closed)
Patch Set: fix unit test memory leak Created 4 years, 1 month 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/password_manager/content/browser/visible_password_observer.h
diff --git a/components/password_manager/content/browser/visible_password_observer.h b/components/password_manager/content/browser/visible_password_observer.h
index d86331121ee0a0cf4cd1573d914898dc7b0b7249..40d9716b658ac014f732a5745cdc6b21daf73d1c 100644
--- a/components/password_manager/content/browser/visible_password_observer.h
+++ b/components/password_manager/content/browser/visible_password_observer.h
@@ -64,7 +64,7 @@ class VisiblePasswordObserver
void MaybeNotifyAllFieldsInvisible();
content::WebContents* web_contents_;
- std::set<int> frame_tree_nodes_with_visible_password_fields_;
+ std::set<content::RenderFrameHost*> frames_with_visible_password_fields_;
DISALLOW_COPY_AND_ASSIGN(VisiblePasswordObserver);
};

Powered by Google App Engine
This is Rietveld 408576698