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 6936de9fac1e5a6508af5e0c2d6b70f405e8ed46..e3d6330c98abe1454f59fbdd21e4f5db2004f081 100644 |
--- a/third_party/WebKit/Source/modules/payments/PaymentRequest.cpp |
+++ b/third_party/WebKit/Source/modules/payments/PaymentRequest.cpp |
@@ -656,8 +656,9 @@ ScriptPromise PaymentRequest::show(ScriptState* scriptState) { |
if (!scriptState->domWindow() || !scriptState->domWindow()->frame()) |
return ScriptPromise::rejectWithDOMException( |
- scriptState, DOMException::create(InvalidStateError, |
- "Cannot show the payment request")); |
+ scriptState, |
+ DOMException::create(InvalidStateError, |
+ "Cannot show the payment request")); |
m_paymentProvider->Show(); |
@@ -688,8 +689,9 @@ ScriptPromise PaymentRequest::canMakePayment(ScriptState* scriptState) { |
if (!m_paymentProvider.is_bound() || m_canMakePaymentResolver || |
!scriptState->contextIsValid()) { |
return ScriptPromise::rejectWithDOMException( |
- scriptState, DOMException::create(InvalidStateError, |
- "Cannot query payment request")); |
+ scriptState, |
+ DOMException::create(InvalidStateError, |
+ "Cannot query payment request")); |
} |
m_paymentProvider->CanMakePayment(); |
@@ -714,8 +716,9 @@ ScriptPromise PaymentRequest::complete(ScriptState* scriptState, |
PaymentComplete result) { |
if (m_completeResolver) |
return ScriptPromise::rejectWithDOMException( |
- scriptState, DOMException::create(InvalidStateError, |
- "Already called complete() once")); |
+ scriptState, |
+ DOMException::create(InvalidStateError, |
+ "Already called complete() once")); |
if (!m_completeTimer.isActive()) |
return ScriptPromise::rejectWithDOMException( |