Index: chrome/android/java/src/org/chromium/chrome/browser/payments/AutofillAddress.java |
diff --git a/chrome/android/java/src/org/chromium/chrome/browser/payments/AutofillAddress.java b/chrome/android/java/src/org/chromium/chrome/browser/payments/AutofillAddress.java |
index 599ce7b352d9217a26e254b0acfba636df203db0..f34634191a4671911c31c5533d02ec98706e1cc2 100644 |
--- a/chrome/android/java/src/org/chromium/chrome/browser/payments/AutofillAddress.java |
+++ b/chrome/android/java/src/org/chromium/chrome/browser/payments/AutofillAddress.java |
@@ -41,7 +41,8 @@ public class AutofillAddress extends PaymentOption { |
* @param profile The autofill profile containing the address information. |
*/ |
public AutofillAddress(AutofillProfile profile, boolean isComplete) { |
- super(profile.getGUID(), profile.getFullName(), profile.getLabel(), PaymentOption.NO_ICON); |
+ super(profile.getGUID(), profile.getFullName(), profile.getLabel(), |
+ profile.getPhoneNumber(), PaymentOption.NO_ICON); |
mProfile = profile; |
mIsComplete = isComplete; |
} |
@@ -66,7 +67,7 @@ public class AutofillAddress extends PaymentOption { |
assert profile.getGUID().equals(mProfile.getGUID()); |
mProfile = profile; |
mIsComplete = true; |
- updateLabels(mProfile.getFullName(), mProfile.getLabel()); |
+ updateLabels(mProfile.getFullName(), mProfile.getLabel(), mProfile.getPhoneNumber()); |
} |
/** @return The country code to use, e.g., when constructing an editor for this address. */ |