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

Unified Diff: chrome/browser/ui/views/autofill/autofill_dialog_views.cc

Issue 11821020: Chrome-side implementation of AutocompleteErrorEvent#reason. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 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: chrome/browser/ui/views/autofill/autofill_dialog_views.cc
diff --git a/chrome/browser/ui/views/autofill/autofill_dialog_views.cc b/chrome/browser/ui/views/autofill/autofill_dialog_views.cc
index 5c9bade41701c349b1152310ddfedfd76da4b9f0..6fb721abf9eb72a309b15d1e580105a8a63fae58 100644
--- a/chrome/browser/ui/views/autofill/autofill_dialog_views.cc
+++ b/chrome/browser/ui/views/autofill/autofill_dialog_views.cc
@@ -145,7 +145,7 @@ void AutofillDialogViews::WindowClosing() {
void AutofillDialogViews::DeleteDelegate() {
window_ = NULL;
// |this| belongs to |controller_|.
- controller_->ViewClosed(did_submit_ ? ACTION_SUBMIT : ACTION_ABORT);
+ controller_->ViewClosed(did_submit_ ? ACTION_SUBMIT : ACTION_CANCEL);
}
views::Widget* AutofillDialogViews::GetWidget() {

Powered by Google App Engine
This is Rietveld 408576698