Index: third_party/WebKit/Source/modules/payments/PaymentRequestUpdateEventTest.cpp |
diff --git a/third_party/WebKit/Source/modules/payments/PaymentRequestUpdateEventTest.cpp b/third_party/WebKit/Source/modules/payments/PaymentRequestUpdateEventTest.cpp |
index 0cf18826f9797774dd7de00bc124f3db263cadb7..60ebc0b7b1e8a47a0bce8cd4acc1e464899f746a 100644 |
--- a/third_party/WebKit/Source/modules/payments/PaymentRequestUpdateEventTest.cpp |
+++ b/third_party/WebKit/Source/modules/payments/PaymentRequestUpdateEventTest.cpp |
@@ -4,6 +4,7 @@ |
#include "modules/payments/PaymentRequestUpdateEvent.h" |
+#include <memory> |
#include "bindings/core/v8/ExceptionState.h" |
#include "bindings/core/v8/ScriptPromiseResolver.h" |
#include "bindings/core/v8/ScriptState.h" |
@@ -14,7 +15,6 @@ |
#include "modules/payments/PaymentUpdater.h" |
#include "testing/gmock/include/gmock/gmock.h" |
#include "testing/gtest/include/gtest/gtest.h" |
-#include <memory> |
namespace blink { |
namespace { |
@@ -126,7 +126,7 @@ TEST(PaymentRequestUpdateEventTest, OnUpdatePaymentDetailsTimeout) { |
PaymentRequestMockFunctionScope funcs(scope.getScriptState()); |
makePaymentRequestOriginSecure(scope.document()); |
PaymentRequest* request = PaymentRequest::create( |
- scope.document(), buildPaymentMethodDataForTest(), |
+ scope.getExecutionContext(), buildPaymentMethodDataForTest(), |
buildPaymentDetailsForTest(), scope.getExceptionState()); |
PaymentRequestUpdateEvent* event = PaymentRequestUpdateEvent::create( |
scope.getExecutionContext(), EventTypeNames::shippingaddresschange); |