refactor: avoid deprecated v8::Context::GetIsolate() calls pt 3 context get isolate pt 3 (#47901)
* 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() * refactor: add a v8::Isolate* arg to electron::util::CompileAndCall() * refactor: add a v8::Isolate* arg to OnCreatePreloadableV8Context() * refactor: add a v8::Isolate* arg to InvokeEmitProcessEvent() * refactor: add a v8::Isolate* arg to ServiceWorkerData's constructor * refactor: add a v8::Isolate* arg to RendererClientBase::SetupMainWorldOverrides() * refactor: add a v8::Isolate* arg to RendererClientBase::WilLReleaseScriptContext() * docs: update docs to avoid v8::Context::GetIsolate() * refactor: add a v8::Isolate* arg to ElectronSandboxedRendererClient::InitializeBindings() * refactor: avoid v8::Context::GetIsolate() call in PromiseBase::SettleScope::~SettleScope()
This commit is contained in:
parent
f6407b4949
commit
63c452dcc7
17 changed files with 73 additions and 55 deletions
|
@ -32,7 +32,8 @@ class ElectronRendererClient : public RendererClientBase {
|
|||
void DidCreateScriptContext(v8::Isolate* isolate,
|
||||
v8::Local<v8::Context> context,
|
||||
content::RenderFrame* render_frame) override;
|
||||
void WillReleaseScriptContext(v8::Local<v8::Context> context,
|
||||
void WillReleaseScriptContext(v8::Isolate* isolate,
|
||||
v8::Local<v8::Context> context,
|
||||
content::RenderFrame* render_frame) override;
|
||||
|
||||
private:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue