Index: chrome/browser/android/payments/service_worker_payment_app_bridge.cc |
diff --git a/chrome/browser/android/payments/service_worker_payment_app_bridge.cc b/chrome/browser/android/payments/service_worker_payment_app_bridge.cc |
index 6fd1d02f951487c227b0a569b943a26ef0c249d4..98a4f2259830a5c161c65e363f8fc77008d679aa 100644 |
--- a/chrome/browser/android/payments/service_worker_payment_app_bridge.cc |
+++ b/chrome/browser/android/payments/service_worker_payment_app_bridge.cc |
@@ -16,6 +16,7 @@ |
#include "content/public/browser/stored_payment_instrument.h" |
#include "content/public/browser/web_contents.h" |
#include "jni/ServiceWorkerPaymentAppBridge_jni.h" |
+#include "ui/gfx/android/java_bitmap.h" |
namespace { |
@@ -49,7 +50,8 @@ void OnGotAllPaymentApps(const JavaRef<jobject>& jweb_contents, |
env, java_instruments, jweb_contents, instrument->registration_id, |
ConvertUTF8ToJavaString(env, instrument->instrument_key), |
ConvertUTF8ToJavaString(env, instrument->name), |
- ToJavaArrayOfStrings(env, instrument->enabled_methods)); |
+ ToJavaArrayOfStrings(env, instrument->enabled_methods), |
+ gfx::ConvertToJavaBitmap(instrument->icon.get())); |
} |
Java_ServiceWorkerPaymentAppBridge_onPaymentAppCreated( |
env, java_instruments, jweb_contents, jcallback); |