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

Unified Diff: chrome/renderer/render_view.cc

Issue 5080001: Autofill select field text should be captured not selection option value (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/chrome
Patch Set: Created 10 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: chrome/renderer/render_view.cc
diff --git a/chrome/renderer/render_view.cc b/chrome/renderer/render_view.cc
index 8bd4675279f6350c6801062bdbe94810d3dc5b5e..4b82dcba1cbab81d59f2b7d0a70f43292084ae3c 100644
--- a/chrome/renderer/render_view.cc
+++ b/chrome/renderer/render_view.cc
@@ -2960,7 +2960,8 @@ void RenderView::willSubmitForm(WebFrame* frame, const WebFormElement& form) {
if (FormManager::WebFormElementToFormData(
form,
FormManager::REQUIRE_AUTOCOMPLETE,
- FormManager::EXTRACT_VALUE,
+ static_cast<FormManager::ExtractMask>(FormManager::EXTRACT_VALUE |
+ FormManager::EXTRACT_TEXT),
&form_data)) {
Send(new ViewHostMsg_FormSubmitted(routing_id_, form_data));
}
« chrome/renderer/form_manager.cc ('K') | « chrome/renderer/form_manager_browsertest.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698