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

Unified Diff: chrome/browser/ui/autofill/autofill_popup_controller_impl.cc

Issue 1040083003: [Password Manager] Fix to resolve DCHECK when seeing '\n' character in a saved credential username. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 9 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 | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/autofill/autofill_popup_controller_impl.cc
diff --git a/chrome/browser/ui/autofill/autofill_popup_controller_impl.cc b/chrome/browser/ui/autofill/autofill_popup_controller_impl.cc
index a8331e7b7e7823c3bc486a5b0a42790fa9c7c4de..2a65982912e8b1309ac3e452aaafbc464e570bbf 100644
--- a/chrome/browser/ui/autofill/autofill_popup_controller_impl.cc
+++ b/chrome/browser/ui/autofill/autofill_popup_controller_impl.cc
@@ -464,7 +464,7 @@ void AutofillPopupControllerImpl::SetSelectedLine(int selected_line) {
selected_line_ = selected_line;
if (selected_line_ != kNoSelection) {
- delegate_->DidSelectSuggestion(elided_values_[selected_line_],
+ delegate_->DidSelectSuggestion(suggestions_[selected_line_].value,
suggestions_[selected_line_].frontend_id);
} else {
delegate_->ClearPreviewedForm();
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698