electron/shell/common/gin_helper
trop[bot] f2d14ca29d
refactor: avoid deprecated v8::Context::GetIsolate() calls pt 3 context get isolate pt 3 (#47910)
* refactor: add a v8::Isolate* arg to RendererClientBase::IsWebViewFrame()

Needed for creating gin dictionaries

refactor: add a v8::Isolate* arg to ShouldLoadPreload()

Needed for calling IsWebViewFrame()

Co-authored-by: Charles Kerr <charles@charleskerr.com>

* refactor: add a v8::Isolate* arg to electron::util::CompileAndCall()

Co-authored-by: Charles Kerr <charles@charleskerr.com>

* refactor: add a v8::Isolate* arg to OnCreatePreloadableV8Context()

Co-authored-by: Charles Kerr <charles@charleskerr.com>

* refactor: add a v8::Isolate* arg to InvokeEmitProcessEvent()

Co-authored-by: Charles Kerr <charles@charleskerr.com>

* refactor: add a v8::Isolate* arg to ServiceWorkerData's constructor

Co-authored-by: Charles Kerr <charles@charleskerr.com>

* refactor: add a v8::Isolate* arg to RendererClientBase::SetupMainWorldOverrides()

Co-authored-by: Charles Kerr <charles@charleskerr.com>

* refactor: add a v8::Isolate* arg to RendererClientBase::WilLReleaseScriptContext()

Co-authored-by: Charles Kerr <charles@charleskerr.com>

* docs: update docs to avoid v8::Context::GetIsolate()

Co-authored-by: Charles Kerr <charles@charleskerr.com>

* refactor: add a v8::Isolate* arg to ElectronSandboxedRendererClient::InitializeBindings()

Co-authored-by: Charles Kerr <charles@charleskerr.com>

* refactor: avoid v8::Context::GetIsolate() call in PromiseBase::SettleScope::~SettleScope()

Co-authored-by: Charles Kerr <charles@charleskerr.com>

---------

Co-authored-by: trop[bot] <37223003+trop[bot]@users.noreply.github.com>
Co-authored-by: Charles Kerr <charles@charleskerr.com>
2025-07-31 14:19:10 -05:00
..
accessor.h chore: enable check raw ptr fields (#38167) 2023-05-11 16:07:39 -04:00
arguments.cc chore: cleanup include groupings (#43478) 2024-08-26 10:44:20 -04:00
arguments.h chore: migrate base::StringPiece to std::string_view (#40915) 2024-01-10 19:00:37 -06:00
callback.cc refactor: use v8::True(isolate) and v8::False(isolate) (#46544) 2025-04-08 12:58:39 -05:00
callback.h refactor: prefer GetCreationContextChecked(v8::Isolate*) over GetCreationContextChecked() (#47890) 2025-07-29 10:37:29 -04:00
cleaned_up_at_exit.cc fix: crash in gin::wrappable::secondweakcallback (#45368) 2025-01-29 10:20:37 -08:00
cleaned_up_at_exit.h fix: crash in gin::wrappable::secondweakcallback (#45368) 2025-01-29 10:20:37 -08:00
constructible.h refactor: avoid deprecated v8::Context::GetIsolate() calls (pt 2) (#47896) 2025-07-29 10:34:18 -04:00
constructor.h refactor: make a variadic gin_helper::internal::InvokeFactory() (#45988) 2025-03-13 17:24:49 -05:00
destroyable.cc chore: more iwyu (#43063) 2024-07-29 12:42:57 -05:00
destroyable.h chore: more iwyu (#43063) 2024-07-29 12:42:57 -05:00
dictionary.h refactor: add gin_helper::Dictionary::ValueOrDefault() (#46939) 2025-05-06 15:20:12 -05:00
error_thrower.cc perf: have ErrorThrower lazily lookup the current isolate (#46388) 2025-04-01 12:25:27 -05:00
error_thrower.h perf: have ErrorThrower lazily lookup the current isolate (#46388) 2025-04-01 12:25:27 -05:00
event.cc chore: bump chromium to 140.0.7281.0 (38-x-y) (#47559) 2025-07-15 12:05:29 -04:00
event.h chore: bump chromium to 140.0.7281.0 (38-x-y) (#47559) 2025-07-15 12:05:29 -04:00
event_emitter.h perf: avoid redundant method calls in EventEmitter (#45786) 2025-02-25 19:20:33 -06:00
event_emitter_caller.cc refactor: prefer GetCreationContextChecked(v8::Isolate*) over GetCreationContextChecked() (#47890) 2025-07-29 10:37:29 -04:00
event_emitter_caller.h chore: bump chromium to 140.0.7281.0 (38-x-y) (#47559) 2025-07-15 12:05:29 -04:00
event_emitter_template.cc chore: bump chromium to 140.0.7281.0 (38-x-y) (#47559) 2025-07-15 12:05:29 -04:00
event_emitter_template.h refactor: simplify events (#37099) 2023-02-13 13:39:18 -08:00
function_template.cc chore: remove unused #includes (#42971) 2024-07-22 11:31:32 +02:00
function_template.h refactor: replace gin_helper::MicrotasksScope with v8::MicrotasksScope (#46963) 2025-05-07 14:10:34 -05:00
function_template_extensions.h chore: replace absl::optional<T> with std::optional<T> (#40928) 2024-01-10 16:23:35 -06:00
locker.cc chore: more iwyu (#43063) 2024-07-29 12:42:57 -05:00
locker.h chore: more iwyu (#43063) 2024-07-29 12:42:57 -05:00
object_template_builder.cc chore: migrate base::StringPiece to std::string_view (#40915) 2024-01-10 19:00:37 -06:00
object_template_builder.h chore: migrate base::StringPiece to std::string_view (#40915) 2024-01-10 19:00:37 -06:00
persistent_dictionary.cc chore: remove native_mate (Part 12) (#20869) 2019-10-31 16:56:00 +09:00
persistent_dictionary.h refactor: use gin_helper::Dictionary::ValueOrDefault() (#46982) 2025-05-08 14:17:22 -05:00
pinnable.h chore: more iwyu (#43063) 2024-07-29 12:42:57 -05:00
promise.cc refactor: avoid deprecated v8::Context::GetIsolate() calls pt 3 context get isolate pt 3 (#47910) 2025-07-31 14:19:10 -05:00
promise.h refactor: avoid deprecated v8::Context::GetIsolate() calls pt 3 context get isolate pt 3 (#47910) 2025-07-31 14:19:10 -05:00
reply_channel.cc chore: bump chromium to 140.0.7281.0 (38-x-y) (#47559) 2025-07-15 12:05:29 -04:00
reply_channel.h chore: bump chromium to 140.0.7281.0 (38-x-y) (#47559) 2025-07-15 12:05:29 -04:00
trackable_object.cc chore: fix clang-tidy warnings (#38079) 2023-04-26 10:09:54 -04:00
trackable_object.h refactor: make TrackableObject::weak_map_id() constexpr (#47092) 2025-05-15 16:10:33 -05:00
wrappable.cc chore: bump chromium to 140.0.7281.0 (38-x-y) (#47559) 2025-07-15 12:05:29 -04:00
wrappable.h chore: bump chromium to 140.0.7281.0 (38-x-y) (#47559) 2025-07-15 12:05:29 -04:00
wrappable_base.h refactor: remove unused gin_helper::WrappableBase::GetWrapper(v8::Isolate*) (#45793) 2025-02-25 19:50:09 -06:00