| Index: third_party/WebKit/Source/modules/payments/PaymentAppManager.cpp
|
| diff --git a/third_party/WebKit/Source/modules/payments/PaymentAppManager.cpp b/third_party/WebKit/Source/modules/payments/PaymentAppManager.cpp
|
| index 651476f49f4b0e289f74a8d3e3cf703d3cfcc38f..49a31af2f175ae8a12930ec858f0da63623af28b 100644
|
| --- a/third_party/WebKit/Source/modules/payments/PaymentAppManager.cpp
|
| +++ b/third_party/WebKit/Source/modules/payments/PaymentAppManager.cpp
|
| @@ -28,7 +28,10 @@ struct TypeConverter<PaymentAppOptionPtr, blink::PaymentAppOption> {
|
| output->name = input.hasName() ? input.name() : WTF::emptyString();
|
| output->icon = input.hasIcon() ? input.icon() : WTF::String();
|
| output->id = input.hasId() ? input.id() : WTF::emptyString();
|
| - output->enabled_methods = WTF::Vector<WTF::String>(input.enabledMethods());
|
| + if (input.hasEnabledMethods()) {
|
| + output->enabled_methods =
|
| + WTF::Vector<WTF::String>(input.enabledMethods());
|
| + }
|
| return output;
|
| }
|
| };
|
|
|