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

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

Issue 1161793006: [Autofill] Don't hold onto stale form field pointers (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: thestig review Created 5 years, 6 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
« no previous file with comments | « no previous file | components/autofill/content/renderer/form_cache.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/autofill/content/renderer/form_cache.h
diff --git a/components/autofill/content/renderer/form_cache.h b/components/autofill/content/renderer/form_cache.h
index f534e20d017c50e933b6e73fa0547095866ad2a5..15c568056c872a2a5ed5c3950718eca6a2e73bef 100644
--- a/components/autofill/content/renderer/form_cache.h
+++ b/components/autofill/content/renderer/form_cache.h
@@ -57,6 +57,10 @@ class FormCache {
const std::vector<blink::WebFormControlElement>& control_elements,
bool log_deprecation_messages);
+ // Saves initial state of checkbox and select elements.
+ void SaveInitialValues(
+ const std::vector<blink::WebFormControlElement>& control_elements);
+
// The frame this FormCache is associated with.
const blink::WebFrame& frame_;
« no previous file with comments | « no previous file | components/autofill/content/renderer/form_cache.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698