Index: third_party/WebKit/Source/modules/payments/PaymentRequestTest.cpp |
diff --git a/third_party/WebKit/Source/modules/payments/PaymentRequestTest.cpp b/third_party/WebKit/Source/modules/payments/PaymentRequestTest.cpp |
index e7038c2be1a26afeaed916efc9bc5c8956180352..984fd53a0050c84d7f876eeef58025908865ea07 100644 |
--- a/third_party/WebKit/Source/modules/payments/PaymentRequestTest.cpp |
+++ b/third_party/WebKit/Source/modules/payments/PaymentRequestTest.cpp |
@@ -108,8 +108,9 @@ TEST(PaymentRequestTest, DontSelectSingleAvailableShippingOptionByDefault) { |
PaymentDetails details; |
details.setTotal(buildPaymentItemForTest()); |
details.setShippingOptions(HeapVector<PaymentShippingOption>( |
- 1, buildShippingOptionForTest(PaymentTestDataId, |
- PaymentTestOverwriteValue, "standard"))); |
+ 1, |
+ buildShippingOptionForTest(PaymentTestDataId, PaymentTestOverwriteValue, |
+ "standard"))); |
PaymentRequest* request = |
PaymentRequest::create(scope.document(), buildPaymentMethodDataForTest(), |
@@ -161,8 +162,9 @@ TEST(PaymentRequestTest, |
PaymentDetails details; |
details.setTotal(buildPaymentItemForTest()); |
HeapVector<PaymentShippingOption> shippingOptions( |
- 1, buildShippingOptionForTest(PaymentTestDataId, |
- PaymentTestOverwriteValue, "standard")); |
+ 1, |
+ buildShippingOptionForTest(PaymentTestDataId, PaymentTestOverwriteValue, |
+ "standard")); |
shippingOptions[0].setSelected(true); |
details.setShippingOptions(shippingOptions); |
PaymentOptions options; |
@@ -469,9 +471,10 @@ TEST(PaymentRequestTest, RejectShowPromiseOnInvalidPaymentDetailsUpdate) { |
request->show(scope.getScriptState()) |
.then(funcs.expectNoCall(), funcs.expectCall()); |
- request->onUpdatePaymentDetails(ScriptValue::from( |
- scope.getScriptState(), fromJSONString(scope.getScriptState()->isolate(), |
- "{}", scope.getExceptionState()))); |
+ request->onUpdatePaymentDetails( |
+ ScriptValue::from(scope.getScriptState(), |
+ fromJSONString(scope.getScriptState()->isolate(), "{}", |
+ scope.getExceptionState()))); |
EXPECT_FALSE(scope.getExceptionState().hadException()); |
} |