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 22f3dc1edbf4c0fd0b5f64f94ebbbf0e28e4627f..cfcf877aab640b5a3a287983089fa29aaff41592 100644 |
--- a/third_party/WebKit/Source/modules/payments/PaymentRequest.cpp |
+++ b/third_party/WebKit/Source/modules/payments/PaymentRequest.cpp |
@@ -408,6 +408,11 @@ ScriptPromise PaymentRequest::abort(ScriptState* scriptState) |
return m_abortResolver->promise(); |
} |
+bool PaymentRequest::hasPendingActivity() const |
+{ |
+ return m_showResolver || m_completeResolver; |
+} |
+ |
const AtomicString& PaymentRequest::interfaceName() const |
{ |
return EventTargetNames::PaymentRequest; |
@@ -528,11 +533,6 @@ void PaymentRequest::contextDestroyed() |
clearResolversAndCloseMojoConnection(); |
} |
-bool PaymentRequest::hasPendingActivity() const |
-{ |
- return m_showResolver || m_completeResolver; |
-} |
- |
void PaymentRequest::OnShippingAddressChange(mojom::blink::PaymentAddressPtr address) |
{ |
DCHECK(m_showResolver); |