| Index: third_party/WebKit/Source/modules/payments/PaymentRequestUpdateEventTest.cpp
|
| diff --git a/third_party/WebKit/Source/modules/payments/PaymentRequestUpdateEventTest.cpp b/third_party/WebKit/Source/modules/payments/PaymentRequestUpdateEventTest.cpp
|
| index 0cf18826f9797774dd7de00bc124f3db263cadb7..af9966007ee2e9999d7ae15c761906cec49c4bdf 100644
|
| --- a/third_party/WebKit/Source/modules/payments/PaymentRequestUpdateEventTest.cpp
|
| +++ b/third_party/WebKit/Source/modules/payments/PaymentRequestUpdateEventTest.cpp
|
| @@ -126,7 +126,7 @@ TEST(PaymentRequestUpdateEventTest, OnUpdatePaymentDetailsTimeout) {
|
| PaymentRequestMockFunctionScope funcs(scope.getScriptState());
|
| makePaymentRequestOriginSecure(scope.document());
|
| PaymentRequest* request = PaymentRequest::create(
|
| - scope.document(), buildPaymentMethodDataForTest(),
|
| + scope.getScriptState(), buildPaymentMethodDataForTest(),
|
| buildPaymentDetailsForTest(), scope.getExceptionState());
|
| PaymentRequestUpdateEvent* event = PaymentRequestUpdateEvent::create(
|
| scope.getExecutionContext(), EventTypeNames::shippingaddresschange);
|
| @@ -134,8 +134,7 @@ TEST(PaymentRequestUpdateEventTest, OnUpdatePaymentDetailsTimeout) {
|
| EXPECT_FALSE(scope.getExceptionState().hadException());
|
|
|
| String errorMessage;
|
| - request->show(scope.getScriptState())
|
| - .then(funcs.expectNoCall(), funcs.expectCall(&errorMessage));
|
| + request->show().then(funcs.expectNoCall(), funcs.expectCall(&errorMessage));
|
|
|
| event->onUpdateEventTimeoutForTesting();
|
|
|
|
|