mirror of
https://bitbucket.org/chromiumembedded/cef
synced 2024-12-13 10:06:28 +01:00
295ea1f715
When the V8 sandbox is enabled, ArrayBuffer backing stores must be allocated inside the sandbox address space. This change introduces a new CefV8Value::CreateArrayBufferWithCopy method that copies the memory contents into the sandbox address space. Enabling the V8 sandbox can have a performance impact, especially when passing large ArrayBuffers from C++ code to the JS side. We have therefore retained the old CefV8Value::CreateArrayBuffer method that references external memory. However, this method can only be used if the V8 sandbox is disabled at CEF/Chromium build time. To disable the V8 sandbox add `v8_enable_sandbox=false` to `GN_DEFINES` when building CEF/Chromium. |
||
---|---|---|
.. | ||
chrome | ||
blink_glue.cc | ||
blink_glue.h | ||
browser_impl.cc | ||
browser_impl.h | ||
dom_document_impl.cc | ||
dom_document_impl.h | ||
dom_node_impl.cc | ||
dom_node_impl.h | ||
frame_impl.cc | ||
frame_impl.h | ||
render_frame_observer.cc | ||
render_frame_observer.h | ||
render_frame_util.cc | ||
render_frame_util.h | ||
render_manager.cc | ||
render_manager.h | ||
thread_util.h | ||
v8_impl.cc | ||
v8_impl.h |