Index: third_party/WebKit/Source/modules/payments/CompleteTest.cpp |
diff --git a/third_party/WebKit/Source/modules/payments/CompleteTest.cpp b/third_party/WebKit/Source/modules/payments/CompleteTest.cpp |
index c6c805bec7946d77501eb5385334c78c0a485615..8ae80f8d2429721d7b4c8c77f66f124bd9664246 100644 |
--- a/third_party/WebKit/Source/modules/payments/CompleteTest.cpp |
+++ b/third_party/WebKit/Source/modules/payments/CompleteTest.cpp |
@@ -18,7 +18,7 @@ TEST(CompleteTest, CannotCallCompleteTwice) { |
makePaymentRequestOriginSecure(scope.document()); |
PaymentRequest* request = PaymentRequest::create( |
scope.getExecutionContext(), buildPaymentMethodDataForTest(), |
- buildPaymentDetailsForTest(), scope.getExceptionState()); |
+ buildPaymentDetailsInitForTest(), scope.getExceptionState()); |
EXPECT_FALSE(scope.getExceptionState().hadException()); |
request->show(scope.getScriptState()); |
static_cast<payments::mojom::blink::PaymentRequestClient*>(request) |
@@ -35,7 +35,7 @@ TEST(CompleteTest, RejectCompletePromiseOnError) { |
makePaymentRequestOriginSecure(scope.document()); |
PaymentRequest* request = PaymentRequest::create( |
scope.getExecutionContext(), buildPaymentMethodDataForTest(), |
- buildPaymentDetailsForTest(), scope.getExceptionState()); |
+ buildPaymentDetailsInitForTest(), scope.getExceptionState()); |
EXPECT_FALSE(scope.getExceptionState().hadException()); |
request->show(scope.getScriptState()); |
static_cast<payments::mojom::blink::PaymentRequestClient*>(request) |
@@ -60,7 +60,7 @@ TEST(CompleteTest, RejectCompletePromiseAfterError) { |
makePaymentRequestOriginSecure(scope.document()); |
PaymentRequest* request = PaymentRequest::create( |
scope.getExecutionContext(), buildPaymentMethodDataForTest(), |
- buildPaymentDetailsForTest(), scope.getExceptionState()); |
+ buildPaymentDetailsInitForTest(), scope.getExceptionState()); |
EXPECT_FALSE(scope.getExceptionState().hadException()); |
request->show(scope.getScriptState()); |
static_cast<payments::mojom::blink::PaymentRequestClient*>(request) |
@@ -78,7 +78,7 @@ TEST(CompleteTest, ResolvePromiseOnComplete) { |
makePaymentRequestOriginSecure(scope.document()); |
PaymentRequest* request = PaymentRequest::create( |
scope.getExecutionContext(), buildPaymentMethodDataForTest(), |
- buildPaymentDetailsForTest(), scope.getExceptionState()); |
+ buildPaymentDetailsInitForTest(), scope.getExceptionState()); |
EXPECT_FALSE(scope.getExceptionState().hadException()); |
request->show(scope.getScriptState()); |
static_cast<payments::mojom::blink::PaymentRequestClient*>(request) |
@@ -97,7 +97,7 @@ TEST(CompleteTest, RejectCompletePromiseOnUpdateDetailsFailure) { |
makePaymentRequestOriginSecure(scope.document()); |
PaymentRequest* request = PaymentRequest::create( |
scope.getExecutionContext(), buildPaymentMethodDataForTest(), |
- buildPaymentDetailsForTest(), scope.getExceptionState()); |
+ buildPaymentDetailsInitForTest(), scope.getExceptionState()); |
EXPECT_FALSE(scope.getExceptionState().hadException()); |
request->show(scope.getScriptState()) |
.then(funcs.expectCall(), funcs.expectNoCall()); |
@@ -120,7 +120,7 @@ TEST(CompleteTest, RejectCompletePromiseAfterTimeout) { |
makePaymentRequestOriginSecure(scope.document()); |
PaymentRequest* request = PaymentRequest::create( |
scope.getExecutionContext(), buildPaymentMethodDataForTest(), |
- buildPaymentDetailsForTest(), scope.getExceptionState()); |
+ buildPaymentDetailsInitForTest(), scope.getExceptionState()); |
EXPECT_FALSE(scope.getExceptionState().hadException()); |
request->show(scope.getScriptState()) |
.then(funcs.expectCall(), funcs.expectNoCall()); |