Index: components/autofill/content/renderer/form_cache.cc |
diff --git a/components/autofill/content/renderer/form_cache.cc b/components/autofill/content/renderer/form_cache.cc |
index 02f7a09dfe5d5a6591e84012c83a4da187e0c58f..9bc97e2f5505c598566d3a66b4995d9839aa2dd4 100644 |
--- a/components/autofill/content/renderer/form_cache.cc |
+++ b/components/autofill/content/renderer/form_cache.cc |
@@ -277,7 +277,6 @@ bool FormCache::ShowPredictions(const FormDataPredictions& form) { |
continue; |
} |
- std::string placeholder = form.fields[i].overall_type; |
base::string16 title = l10n_util::GetStringFUTF16( |
IDS_AUTOFILL_SHOW_PREDICTIONS_TITLE, |
base::UTF8ToUTF16(form.fields[i].heuristic_type), |
@@ -285,10 +284,6 @@ bool FormCache::ShowPredictions(const FormDataPredictions& form) { |
base::UTF8ToUTF16(form.fields[i].signature), |
base::UTF8ToUTF16(form.signature), |
base::UTF8ToUTF16(form.experiment_id)); |
- if (!element.hasAttribute("placeholder")) { |
- element.setAttribute("placeholder", |
- WebString(base::UTF8ToUTF16(placeholder))); |
- } |
element.setAttribute("title", WebString(title)); |
} |