PaymentRequest: Use TraceWrapperV8Reference instead of ScriptValue
To avoid cyclic references between V8 and Blink, we should use TraceWrapperV8Reference instead of ScriptValue. This CL introduces a new static method-ToWorldSafeScriptValue()- and use it instead of V8ValueFor() to create a clone across worlds as needed. Related discussion: https://chromium-review.googlesource.com/c/chromium/src/+/1262968#message-e08afac4b75f8a1893fbaf7b536607e146a9bed6 Bug: none Change-Id: Ib95bd8f47de55c7c42740373ebf80587af2b39f8 Reviewed-on: https://chromium-review.googlesource.com/c/1267155 Commit-Queue: Jinho Bang <jinho.bang@samsung.com> Reviewed-by:Yuki Shiino <yukishiino@chromium.org> Reviewed-by:
Kentaro Hara <haraken@chromium.org> Cr-Commit-Position: refs/heads/master@{#604541}
Showing
Please register or sign in to comment