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

Unified Diff: chrome/android/java/src/org/chromium/chrome/browser/payments/AddressEditor.java

Issue 2515853002: [Payments] Fix new billing address label. (Closed)
Patch Set: Created 4 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/android/java/src/org/chromium/chrome/browser/payments/AddressEditor.java
diff --git a/chrome/android/java/src/org/chromium/chrome/browser/payments/AddressEditor.java b/chrome/android/java/src/org/chromium/chrome/browser/payments/AddressEditor.java
index 784ec6ff8cd691225b92069a54d4fcfb1dcb623f..a3c31f7573868a52fbe8d4a5639baab575ea8a6e 100644
--- a/chrome/android/java/src/org/chromium/chrome/browser/payments/AddressEditor.java
+++ b/chrome/android/java/src/org/chromium/chrome/browser/payments/AddressEditor.java
@@ -220,8 +220,6 @@ public class AddressEditor extends EditorBase<AutofillAddress> {
// Calculate the label for this profile. The label's format depends on the country and
please use gerrit instead 2016/11/18 21:56:22 Please remove the comment about the label.
sebsg 2016/11/21 16:07:09 Done.
// language code for the profile.
PersonalDataManager pdm = PersonalDataManager.getInstance();
- // TODO(crbug.com/666048): New billing address label is wrong.
- profile.setLabel(pdm.getAddressLabelForPaymentRequest(profile));
// Save the edited autofill profile.
profile.setGUID(pdm.setProfile(profile));
please use gerrit instead 2016/11/18 21:56:22 Since "pdm" is now used only once, you can inline
sebsg 2016/11/21 16:07:09 Done.

Powered by Google App Engine
This is Rietveld 408576698