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

Unified Diff: components/autofill/core/browser/form_structure.cc

Issue 891983002: [Autofill] Take into account autocomplete prediction in Quality* metrics (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: initial Created 5 years, 11 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/core/browser/form_structure.cc
diff --git a/components/autofill/core/browser/form_structure.cc b/components/autofill/core/browser/form_structure.cc
index b5cfd5e1f7787790e669210c29d4c965a8363e85..fcecf1dd27a8bea83907418cb04f348e88a41fd6 100644
--- a/components/autofill/core/browser/form_structure.cc
+++ b/components/autofill/core/browser/form_structure.cc
@@ -742,6 +742,8 @@ void FormStructure::UpdateFromCache(const FormStructure& cached_form) {
field->set_heuristic_type(cached_field->second->heuristic_type());
field->set_server_type(cached_field->second->server_type());
+ field->SetHtmlType(cached_field->second->html_type(),
+ cached_field->second->html_mode());
}
}

Powered by Google App Engine
This is Rietveld 408576698