| Index: third_party/WebKit/Source/modules/payments/PaymentRequest.cpp
|
| diff --git a/third_party/WebKit/Source/modules/payments/PaymentRequest.cpp b/third_party/WebKit/Source/modules/payments/PaymentRequest.cpp
|
| index d7a5ca20b943e31df916e31cf9a5a9ebc830737e..8d7df86411f1a2f49960ad1f34dd66b9e2c6e8ff 100644
|
| --- a/third_party/WebKit/Source/modules/payments/PaymentRequest.cpp
|
| +++ b/third_party/WebKit/Source/modules/payments/PaymentRequest.cpp
|
| @@ -639,8 +639,9 @@ PaymentRequest::PaymentRequest(ScriptState* scriptState,
|
| m_clientBinding.CreateInterfacePtrAndBind(),
|
| mojo::WTFArray<mojom::blink::PaymentMethodDataPtr>::From(
|
| validatedMethodData),
|
| - maybeKeepShippingOptions(mojom::blink::PaymentDetails::From(details),
|
| - keepShippingOptions),
|
| + maybeKeepShippingOptions(
|
| + mojom::blink::PaymentDetails::From(details),
|
| + keepShippingOptions && m_options.requestShipping()),
|
| mojom::blink::PaymentOptions::From(m_options));
|
| }
|
|
|
|
|