Index: third_party/WebKit/Source/modules/payments/AbortTest.cpp |
diff --git a/third_party/WebKit/Source/modules/payments/AbortTest.cpp b/third_party/WebKit/Source/modules/payments/AbortTest.cpp |
index 98daac8493ccaff0892c6666cfc941d810cd02bc..bf92a2fa85826d97cc4aeb57ac0e70ad1dd84759 100644 |
--- a/third_party/WebKit/Source/modules/payments/AbortTest.cpp |
+++ b/third_party/WebKit/Source/modules/payments/AbortTest.cpp |
@@ -20,7 +20,7 @@ TEST(AbortTest, CannotAbortBeforeShow) { |
makePaymentRequestOriginSecure(scope.document()); |
PaymentRequest* request = PaymentRequest::create( |
scope.getExecutionContext(), buildPaymentMethodDataForTest(), |
- buildPaymentDetailsForTest(), scope.getExceptionState()); |
+ buildPaymentDetailsInitForTest(), scope.getExceptionState()); |
request->abort(scope.getScriptState()) |
.then(funcs.expectNoCall(), funcs.expectCall()); |
@@ -34,7 +34,7 @@ TEST(AbortTest, CannotAbortTwiceConcurrently) { |
makePaymentRequestOriginSecure(scope.document()); |
PaymentRequest* request = PaymentRequest::create( |
scope.getExecutionContext(), buildPaymentMethodDataForTest(), |
- buildPaymentDetailsForTest(), scope.getExceptionState()); |
+ buildPaymentDetailsInitForTest(), scope.getExceptionState()); |
request->show(scope.getScriptState()); |
request->abort(scope.getScriptState()); |
@@ -50,7 +50,7 @@ TEST(AbortTest, CanAbortAfterShow) { |
makePaymentRequestOriginSecure(scope.document()); |
PaymentRequest* request = PaymentRequest::create( |
scope.getExecutionContext(), buildPaymentMethodDataForTest(), |
- buildPaymentDetailsForTest(), scope.getExceptionState()); |
+ buildPaymentDetailsInitForTest(), scope.getExceptionState()); |
request->show(scope.getScriptState()); |
request->abort(scope.getScriptState()) |
@@ -65,7 +65,7 @@ TEST(AbortTest, FailedAbortShouldRejectAbortPromise) { |
makePaymentRequestOriginSecure(scope.document()); |
PaymentRequest* request = PaymentRequest::create( |
scope.getExecutionContext(), buildPaymentMethodDataForTest(), |
- buildPaymentDetailsForTest(), scope.getExceptionState()); |
+ buildPaymentDetailsInitForTest(), scope.getExceptionState()); |
request->show(scope.getScriptState()); |
request->abort(scope.getScriptState()) |
@@ -83,7 +83,7 @@ TEST(AbortTest, CanAbortAgainAfterFirstAbortRejected) { |
makePaymentRequestOriginSecure(scope.document()); |
PaymentRequest* request = PaymentRequest::create( |
scope.getExecutionContext(), buildPaymentMethodDataForTest(), |
- buildPaymentDetailsForTest(), scope.getExceptionState()); |
+ buildPaymentDetailsInitForTest(), scope.getExceptionState()); |
request->show(scope.getScriptState()); |
request->abort(scope.getScriptState()); |
static_cast<payments::mojom::blink::PaymentRequestClient*>(request)->OnAbort( |
@@ -101,7 +101,7 @@ TEST(AbortTest, SuccessfulAbortShouldRejectShowPromiseAndResolveAbortPromise) { |
makePaymentRequestOriginSecure(scope.document()); |
PaymentRequest* request = PaymentRequest::create( |
scope.getExecutionContext(), buildPaymentMethodDataForTest(), |
- buildPaymentDetailsForTest(), scope.getExceptionState()); |
+ buildPaymentDetailsInitForTest(), scope.getExceptionState()); |
request->show(scope.getScriptState()) |
.then(funcs.expectNoCall(), funcs.expectCall()); |