Index: chrome/android/java/src/org/chromium/chrome/browser/payments/ui/PaymentRequestUI.java |
diff --git a/chrome/android/java/src/org/chromium/chrome/browser/payments/ui/PaymentRequestUI.java b/chrome/android/java/src/org/chromium/chrome/browser/payments/ui/PaymentRequestUI.java |
index 34a2dbd190d1a3c79dddf4caf15ac3805d3f6cf1..5b1886ca41b6e34cf1e791e0d8cab270b97083c1 100644 |
--- a/chrome/android/java/src/org/chromium/chrome/browser/payments/ui/PaymentRequestUI.java |
+++ b/chrome/android/java/src/org/chromium/chrome/browser/payments/ui/PaymentRequestUI.java |
@@ -204,6 +204,7 @@ public class PaymentRequestUI implements DialogInterface.OnDismissListener, View |
activity.getString(R.string.payments_order_summary_label), this); |
mShippingSummarySection = new ExtraTextSection(activity, |
activity.getString(R.string.payments_shipping_summary_label), this); |
+ mShippingSummarySection.setId(R.id.payments_shipping_section); |
mShippingAddressSection = new OptionSection(activity, |
activity.getString(R.string.payments_shipping_address_label), |
activity.getString(R.string.payments_select_shipping_address_prompt), this); |
@@ -364,6 +365,7 @@ public class PaymentRequestUI implements DialogInterface.OnDismissListener, View |
public void updateShippingOptionsSection(SectionInformation section) { |
mShippingOptionsSectionInformation = section; |
mShippingOptionSection.update(section); |
+ updatePayButtonEnabled(); |
} |
private void updatePaymentMethodSection(SectionInformation section) { |