electron/shell/common
trop[bot] 7b14a305f8
perf: use ArrayBuffer::Data() instead of GetBackingStore()->Data() (#44073)
perf: use ArrayBuffer::Data() API

Replace our `GetBackingStore()->Data()` calls with this instead.
Explained by the V8 docs, ArrayBuffer.Data() is

> More efficient shortcut for GetBackingStore()->Data(). The
> returned pointer is valid as long as the ArrayBuffer is alive.

Co-authored-by: trop[bot] <37223003+trop[bot]@users.noreply.github.com>
Co-authored-by: Charles Kerr <charles@charleskerr.com>
2024-10-01 13:52:00 -05:00
..
api perf: use ArrayBuffer::Data() instead of GetBackingStore()->Data() (#44073) 2024-10-01 13:52:00 -05:00
asar fix: -Wunsafe-buffer-usage warning in asar_util's ReadFileToString() (#43930) 2024-09-25 11:21:47 +02:00
extensions refactor: move impl functions into private namespace (#43408) 2024-08-21 19:43:01 -05:00
gin_converters chore: bump chromium to 130.0.6723.6 (33-x-y) (#43453) 2024-09-26 11:12:12 +02:00
gin_helper refactor: reduce code duplication in gin_helper::Promise (33-x-y) (#43778) 2024-09-19 13:01:13 +02:00
mac chore: remove unused #includes (#42971) 2024-07-22 11:31:32 +02:00
resources/mac
application_info.cc fix: devtools allow restoring saved dock state on Windows (#39734) 2023-09-07 17:14:01 +09:00
application_info.h fix: devtools allow restoring saved dock state on Windows (#39734) 2023-09-07 17:14:01 +09:00
application_info_linux.cc chore: remove unused nogncheck includes (#43991) 2024-09-26 21:49:42 -05:00
application_info_mac.mm
application_info_win.cc chore: remove unused #includes (#42971) 2024-07-22 11:31:32 +02:00
BUILD.gn chore: bump chromium to 129.0.6650.0 (main) (#43266) 2024-08-12 10:28:33 +02:00
color_util.cc chore: remove unused #includes (#42971) 2024-07-22 11:31:32 +02:00
color_util.h feat: replace BrowserView with WebContentsView (#35658) 2023-12-13 13:01:03 -08:00
crash_keys.cc refactor: add EmitWarning(v8::Isolate*) helper (#43736) 2024-09-17 11:50:48 +02:00
crash_keys.h
electron_command_line.cc
electron_command_line.h
electron_constants.cc
electron_constants.h chore: remove more unused #include calls (#43000) 2024-07-25 11:25:45 +02:00
electron_paths.h
heap_snapshot.cc
heap_snapshot.h
key_weak_map.h refactor: simplify KeyWeakMap impl (#43483) 2024-08-26 18:09:12 -04:00
keyboard_util.cc chore: bump chromium to 128.0.6558.0 (main) (#42413) 2024-07-02 09:51:33 +02:00
keyboard_util.h chore: migrate base::StringPiece to std::string_view (#40915) 2024-01-10 19:00:37 -06:00
language_util.h
language_util_linux.cc feat: add app.getPreferredSystemLanguages() API (#36035) 2022-11-09 10:50:43 -05:00
language_util_mac.mm
language_util_win.cc chore: remove more unused #include calls (#43000) 2024-07-25 11:25:45 +02:00
logging.cc refactor: move impl functions into private namespace (#43408) 2024-08-21 19:43:01 -05:00
logging.h
node_bindings.cc refactor: reduce code duplication in gin_helper::Promise (33-x-y) (#43778) 2024-09-19 13:01:13 +02:00
node_bindings.h fix: UvHandle move semantics (#43634) 2024-09-09 10:35:58 -05:00
node_bindings_linux.cc refactor: NodeBindings::Create() returns a unique_ptr (#43381) 2024-08-21 10:15:04 +02:00
node_bindings_linux.h chore: remove unused #includes (#42971) 2024-07-22 11:31:32 +02:00
node_bindings_mac.cc refactor: add EmitWarning(v8::Isolate*) helper (#43736) 2024-09-17 11:50:48 +02:00
node_bindings_mac.h chore: remove unused #includes (#42971) 2024-07-22 11:31:32 +02:00
node_bindings_win.cc refactor: NodeBindings::Create() returns a unique_ptr (#43381) 2024-08-21 10:15:04 +02:00
node_bindings_win.h chore: remove unused #includes (#42971) 2024-07-22 11:31:32 +02:00
node_includes.h feat: add error event for utility process (33-x-y) (#43997) 2024-09-29 17:12:15 -05:00
node_util.cc refactor: add EmitWarning(v8::Isolate*) helper (#43736) 2024-09-17 11:50:48 +02:00
node_util.h refactor: add EmitWarning(v8::Isolate*) helper (#43736) 2024-09-17 11:50:48 +02:00
options_switches.cc chore: deprecate textured BrowserWindow type option on macOS (#43133) 2024-08-12 10:32:35 +02:00
options_switches.h chore: deprecate textured BrowserWindow type option on macOS (#43133) 2024-08-12 10:32:35 +02:00
platform_util.cc chore: remove unused #includes (#42971) 2024-07-22 11:31:32 +02:00
platform_util.h feat: update app.{set|get}LoginItemSettings(settings) (#37244) 2023-10-16 12:25:11 -04:00
platform_util_internal.h
platform_util_linux.cc chore: remove unused nogncheck includes (#43991) 2024-09-26 21:49:42 -05:00
platform_util_mac.mm refactor: migrate deprecated platform_util_mac calls (#43161) 2024-08-15 10:53:38 -04:00
platform_util_win.cc refactor: remove C-style void arg type for no-arg functions (#43919) 2024-09-24 00:36:20 -07:00
plugin.mojom chore: bump chromium to 129.0.6650.0 (main) (#43266) 2024-08-12 10:28:33 +02:00
plugin_info.cc chore: bump chromium to 123.0.6312.5 (main) (#41337) 2024-02-21 15:27:05 -05:00
plugin_info.h chore: bump chromium to 109.0.5382.0 (main) (#36057) 2022-10-27 12:37:04 -04:00
process_util.cc refactor: add EmitWarning(v8::Isolate*) helper (#43736) 2024-09-17 11:50:48 +02:00
process_util.h refactor: add EmitWarning(v8::Isolate*) helper (#43736) 2024-09-17 11:50:48 +02:00
skia_util.cc refactor: add EmitWarning(v8::Isolate*) helper (#43736) 2024-09-17 11:50:48 +02:00
skia_util.h chore: used nested namespaces (#34737) 2022-06-29 12:55:47 -07:00
thread_restrictions.h chore: bump chromium to 110.0.5415.0 (main) (#36186) 2022-11-17 14:59:23 -05:00
v8_value_serializer.cc fix: -Wunsafe-buffer-usage warning in V8Serializer::Serialize() (#43675) 2024-09-10 19:00:47 -05:00
v8_value_serializer.h
world_ids.h