| 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 ef8b5cbd5533c5c9d229e83967039fe32eed469f..8a972b23f2f3876c974f39e63279c70de1b64f7c 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
|
| @@ -398,12 +398,13 @@ public class PaymentRequestUI implements DialogInterface.OnDismissListener, View
|
| *
|
| * Should not be called multiple times.
|
| *
|
| - * @param paymentSuccess Whether the payment (if any) was successful.
|
| + * @param shouldCloseImmediately If true, this function will immediately dismiss the dialog
|
| + * without describing the error.
|
| * @param callback The callback to notify of finished animations.
|
| */
|
| - public void close(boolean paymentSuccess, final Runnable callback) {
|
| + public void close(boolean shouldCloseImmediately, final Runnable callback) {
|
| mIsClientClosing = true;
|
| - mResultView.update(paymentSuccess, new Runnable() {
|
| + mResultView.update(shouldCloseImmediately, new Runnable() {
|
| @Override
|
| public void run() {
|
| dismissDialog(false);
|
|
|