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

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

Issue 2436883002: Make PaymentOption store a Drawable instead of id (Closed)
Patch Set: Fix presubmit warning Created 4 years, 2 months 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/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 101574641f76eb04dd963cc7ce2cf15b5f20059c..7e510b231483c784cbbb5066226326890bc01201 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
@@ -264,7 +264,7 @@ public class CardEditor extends EditorBase<AutofillPaymentInstrument>
// Ensure that |instrument| and |card| are never null.
final AutofillPaymentInstrument instrument = isNewCard
- ? new AutofillPaymentInstrument(mWebContents, new CreditCard(), null)
+ ? new AutofillPaymentInstrument(mContext, mWebContents, new CreditCard(), null)
: toEdit;
final CreditCard card = instrument.getCard();

Powered by Google App Engine
This is Rietveld 408576698