Robo
aa7a81deb9
chore: backport cppgc cleanups ( #50914 )
...
Key fixes:
- Replace `base::WeakPtrFactory` with `gin::WeakCellFactory` in
MenuMac, MenuViews, and NetLog, since weak pointers to cppgc-managed
objects must go through weak cells
- Replace `v8::Global<v8::Value>` with `cppgc::Persistent<Menu>` for
the menu reference in BaseWindow
- Stop using `gin_helper::Handle<T>` with cppgc types; use raw `T*`
and add a `static_assert` to prevent future misuse
- Add proper `Trace()` overrides for Menu, MenuMac, MenuViews, and
NetLog to ensure cppgc members are visited during garbage collection
- Replace `SelfKeepAlive` prevent-GC mechanism in Menu with a
`cppgc::Persistent` prevent-GC captured in `BindSelfToClosure`
- Introduce `GC_PLUGIN_IGNORE` macro to suppress
known-safe violations: mojo::Remote fields, ObjC bridging pointers,
and intentional persistent self-references
- Mark `ArgumentHolder` as `CPPGC_STACK_ALLOCATED()` in both Electron's
and gin's function_template.h to silence raw-pointer-to-GC-type
warnings
2026-04-10 19:27:41 -07:00
..
2025-10-03 14:10:29 -05:00
2025-10-05 12:32:28 -05:00
2023-08-04 10:47:29 +02:00
2026-04-10 19:27:41 -07:00
2026-02-12 17:25:20 -05:00
2025-08-05 02:03:06 +09:00
2025-08-05 02:03:06 +09:00
2025-04-23 17:55:18 -05:00
2026-04-10 19:27:41 -07:00
2026-04-10 19:27:41 -07:00
2026-04-03 15:47:46 -05:00
2026-04-03 15:47:46 -05:00
2026-03-31 12:15:18 +02:00
2026-04-07 11:44:38 -04:00
2026-02-12 12:37:56 -05:00
2025-07-21 16:34:38 +02:00
2024-07-25 11:25:45 +02:00
2026-01-23 20:29:01 +09:00
2026-01-23 20:29:01 +09:00
2026-02-12 12:37:56 -05:00
2026-02-12 12:37:56 -05:00
2024-09-10 16:05:57 -07:00
2026-02-17 14:25:21 -05:00
2025-08-05 02:03:06 +09:00
2025-09-13 08:19:07 +09:00
2026-04-03 15:47:46 -05:00
2026-04-03 15:47:46 -05:00
2025-07-21 16:34:38 +02:00
2021-11-22 16:34:31 +09:00
2025-08-05 02:03:06 +09:00
2025-08-05 02:03:06 +09:00
2026-04-08 11:05:39 -07:00
2026-04-08 11:05:39 -07:00
2025-08-05 02:03:06 +09:00
2025-08-05 02:03:06 +09:00
2026-04-10 19:27:41 -07:00
2026-04-10 19:27:41 -07:00
2026-04-10 19:27:41 -07:00
2026-04-10 19:27:41 -07:00
2026-04-10 19:27:41 -07:00
2026-04-10 19:27:41 -07:00
2026-02-26 14:57:54 -05:00
2026-01-29 16:38:26 -05:00
2026-03-25 15:50:57 -04:00
2026-03-25 15:50:57 -04:00
2026-03-25 15:50:57 -04:00
2026-04-10 19:27:41 -07:00
2026-04-10 19:27:41 -07:00
2026-03-16 22:43:27 +00:00
2026-03-16 22:43:27 +00:00
2026-03-05 09:00:37 -06:00
2026-04-10 14:10:58 -04:00
2026-03-05 09:00:37 -06:00
2026-04-10 14:10:58 -04:00
2026-04-10 19:27:41 -07:00
2026-04-10 19:27:41 -07:00
2025-07-21 16:34:38 +02:00
2026-04-10 16:55:59 +02:00
2026-04-10 16:55:59 +02:00
2026-02-12 12:37:56 -05:00
2025-08-05 02:03:06 +09:00
2026-02-12 12:37:56 -05:00
2026-02-15 19:54:50 +01:00
2026-02-15 19:54:50 +01:00
2026-03-06 15:24:33 -05:00
2026-01-27 16:27:38 -05:00
2026-04-05 23:30:41 -07:00
2026-04-05 23:30:41 -07:00
2026-04-05 23:30:41 -07:00
2026-04-05 23:30:41 -07:00
2026-04-10 16:55:59 +02:00
2026-04-10 16:55:59 +02:00
2026-02-12 12:37:56 -05:00
2026-02-12 12:37:56 -05:00
2025-10-21 14:26:30 -04:00
2026-02-12 12:37:56 -05:00
2026-04-10 19:27:41 -07:00
2026-03-11 15:38:08 -04:00
2026-03-19 18:47:59 -07:00
2026-03-19 18:47:59 -07:00
2026-01-30 15:18:56 -05:00
2026-01-30 15:18:56 -05:00
2024-09-25 06:19:39 -05:00
2025-04-23 20:33:50 -05:00
2026-03-04 00:29:49 +09:00
2026-02-24 15:48:04 +01:00
2026-04-10 12:11:10 +02:00
2026-04-10 12:09:29 +02:00
2026-04-04 11:19:40 -05:00
2025-08-05 02:03:06 +09:00
2026-02-12 12:37:56 -05:00
2025-11-12 12:53:00 -06:00
2025-10-23 16:28:51 -04:00
2025-09-08 12:57:15 +02:00
2025-09-22 20:16:27 -07:00
2026-02-12 12:37:56 -05:00
2026-02-12 12:37:56 -05:00
2026-02-12 12:37:56 -05:00
2026-02-12 12:37:56 -05:00
2025-08-27 09:30:50 +09:00
2025-08-05 02:03:06 +09:00
2025-08-05 02:03:06 +09:00
2024-09-17 01:38:56 -07:00
2022-02-09 18:58:52 -08:00
2026-04-10 12:11:10 +02:00
2026-04-10 12:11:10 +02:00
2022-06-29 12:55:47 -07:00
2022-06-29 12:55:47 -07:00