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

Unified Diff: chrome/browser/resources/settings/passwords_and_forms_page/autofill_section.js

Issue 2180823004: Migrate <cr-dialog> from PaperDialogBehavior to native <dialog>. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Merge conflicts with Tommy's CL. Created 4 years, 5 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/resources/settings/passwords_and_forms_page/autofill_section.js
diff --git a/chrome/browser/resources/settings/passwords_and_forms_page/autofill_section.js b/chrome/browser/resources/settings/passwords_and_forms_page/autofill_section.js
index 8bb11f13fbafd3dd02be33ac74563b82b0a2959e..9cc898cb4d82712e6ccb401db1473a9841aaa64b 100644
--- a/chrome/browser/resources/settings/passwords_and_forms_page/autofill_section.js
+++ b/chrome/browser/resources/settings/passwords_and_forms_page/autofill_section.js
@@ -109,9 +109,7 @@
/** @private */
unstampAddressEditDialog_: function(e) {
- var expectedDialog = this.$$('settings-address-edit-dialog').$.dialog;
- if (Polymer.dom(e).rootTarget == expectedDialog)
- this.activeAddress = null;
+ this.activeAddress = null;
},
/**
@@ -177,9 +175,7 @@
/** @private */
unstampCreditCardEditDialog_: function(e) {
- var expectedDialog = this.$$('settings-credit-card-edit-dialog').$.dialog;
- if (Polymer.dom(e).rootTarget == expectedDialog)
- this.activeCreditCard = null;
+ this.activeCreditCard = null;
},
/**

Powered by Google App Engine
This is Rietveld 408576698