diff options
Diffstat (limited to 'chromium/third_party/blink/renderer/modules/payments/payment_method_change_event.cc')
-rw-r--r-- | chromium/third_party/blink/renderer/modules/payments/payment_method_change_event.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/chromium/third_party/blink/renderer/modules/payments/payment_method_change_event.cc b/chromium/third_party/blink/renderer/modules/payments/payment_method_change_event.cc index 1a3b8e6d0eb..47c8e2dd397 100644 --- a/chromium/third_party/blink/renderer/modules/payments/payment_method_change_event.cc +++ b/chromium/third_party/blink/renderer/modules/payments/payment_method_change_event.cc @@ -28,8 +28,8 @@ const String& PaymentMethodChangeEvent::methodName() const { const ScriptValue PaymentMethodChangeEvent::methodDetails( ScriptState* script_state) const { if (method_details_.IsEmpty()) - return ScriptValue::CreateNull(script_state); - return ScriptValue(script_state, + return ScriptValue::CreateNull(script_state->GetIsolate()); + return ScriptValue(script_state->GetIsolate(), method_details_.GetAcrossWorld(script_state)); } |