chore: use v8::Local<>, not v8::Handle<> (#43019)
v8::Handle is an alias for v8::Local that "is kept around for historical reasons" and is disabled when V8_IMMINENT_DEPRECATION_WARNING is defined
This commit is contained in:
parent
5669a40d5c
commit
df524c6eca
15 changed files with 34 additions and 34 deletions
|
@ -71,7 +71,7 @@ void ElectronRendererClient::UndeferLoad(content::RenderFrame* render_frame) {
|
|||
}
|
||||
|
||||
void ElectronRendererClient::DidCreateScriptContext(
|
||||
v8::Handle<v8::Context> renderer_context,
|
||||
v8::Local<v8::Context> renderer_context,
|
||||
content::RenderFrame* render_frame) {
|
||||
// TODO(zcbenz): Do not create Node environment if node integration is not
|
||||
// enabled.
|
||||
|
@ -157,7 +157,7 @@ void ElectronRendererClient::DidCreateScriptContext(
|
|||
}
|
||||
|
||||
void ElectronRendererClient::WillReleaseScriptContext(
|
||||
v8::Handle<v8::Context> context,
|
||||
v8::Local<v8::Context> context,
|
||||
content::RenderFrame* render_frame) {
|
||||
if (injected_frames_.erase(render_frame) == 0)
|
||||
return;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue