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

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: Try to fix test compilation 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 e9e7a9bdb24f958a355d957d08d7ea74dd19df2e..d17de41a6d59b6648bc5373899ce132109469486 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
@@ -261,7 +261,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