Index: chrome/android/java/src/org/chromium/chrome/browser/payments/CardEditor.java |
diff --git a/chrome/android/java/src/org/chromium/chrome/browser/payments/CardEditor.java b/chrome/android/java/src/org/chromium/chrome/browser/payments/CardEditor.java |
index 9408598c0b738b1fdd1af3e9e93050fdc4670844..7267932e0d6479a07bbb5935fdcfa6539f01b1fa 100644 |
--- a/chrome/android/java/src/org/chromium/chrome/browser/payments/CardEditor.java |
+++ b/chrome/android/java/src/org/chromium/chrome/browser/payments/CardEditor.java |
@@ -196,7 +196,7 @@ public class CardEditor extends EditorBase<AutofillPaymentInstrument> |
AutofillAddress.checkAddressCompletionStatus(a) == AutofillAddress.COMPLETE; |
boolean isBComplete = |
AutofillAddress.checkAddressCompletionStatus(b) == AutofillAddress.COMPLETE; |
- return (isBComplete ? 1 : 0) - (isAComplete ? 1 : 0); |
+ return ApiCompatibilityUtils.compareBoolean(isBComplete, isAComplete); |
} |
}); |