| Index: third_party/WebKit/Source/modules/payments/PaymentResponse.cpp
|
| diff --git a/third_party/WebKit/Source/modules/payments/PaymentResponse.cpp b/third_party/WebKit/Source/modules/payments/PaymentResponse.cpp
|
| index e5df52bce72cbe7f9de0d1fb5c9008ec4fe59463..0a7eeecc4b2cdeef0304dbcd493523c2df931875 100644
|
| --- a/third_party/WebKit/Source/modules/payments/PaymentResponse.cpp
|
| +++ b/third_party/WebKit/Source/modules/payments/PaymentResponse.cpp
|
| @@ -57,14 +57,13 @@ ScriptValue PaymentResponse::details(ScriptState* scriptState,
|
| exceptionState));
|
| }
|
|
|
| -ScriptPromise PaymentResponse::complete(ScriptState* scriptState,
|
| - const String& result) {
|
| +ScriptPromise PaymentResponse::complete(const String& result) {
|
| PaymentCompleter::PaymentComplete convertedResult = PaymentCompleter::Unknown;
|
| if (result == "success")
|
| convertedResult = PaymentCompleter::Success;
|
| else if (result == "fail")
|
| convertedResult = PaymentCompleter::Fail;
|
| - return m_paymentCompleter->complete(scriptState, convertedResult);
|
| + return m_paymentCompleter->complete(convertedResult);
|
| }
|
|
|
| DEFINE_TRACE(PaymentResponse) {
|
|
|