fix: support for v8.setHeapSnapshotNearHeapLimit api (#45645)

* fix: support for v8.setHeapSnapshotNearHeapLimit api

* chore: fix lint
This commit is contained in:
Robo 2025-02-17 23:47:58 +09:00 committed by GitHub
commit 3980b0f8e4
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
10 changed files with 66 additions and 6 deletions

View file

@ -107,7 +107,7 @@ void ElectronRendererClient::DidCreateScriptContext(
blink::LoaderFreezeMode::kStrict);
std::shared_ptr<node::Environment> env = node_bindings_->CreateEnvironment(
renderer_context, nullptr,
renderer_context, nullptr, 0,
base::BindRepeating(&ElectronRendererClient::UndeferLoad,
base::Unretained(this), render_frame));