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
|
@ -64,12 +64,12 @@ class RendererClientBase : public content::ContentRendererClient
|
|||
mojo::ScopedMessagePipeHandle interface_pipe) override;
|
||||
#endif
|
||||
|
||||
virtual void DidCreateScriptContext(v8::Handle<v8::Context> context,
|
||||
virtual void DidCreateScriptContext(v8::Local<v8::Context> context,
|
||||
content::RenderFrame* render_frame) = 0;
|
||||
virtual void WillReleaseScriptContext(v8::Handle<v8::Context> context,
|
||||
virtual void WillReleaseScriptContext(v8::Local<v8::Context> context,
|
||||
content::RenderFrame* render_frame) = 0;
|
||||
virtual void DidClearWindowObject(content::RenderFrame* render_frame);
|
||||
virtual void SetupMainWorldOverrides(v8::Handle<v8::Context> context,
|
||||
virtual void SetupMainWorldOverrides(v8::Local<v8::Context> context,
|
||||
content::RenderFrame* render_frame);
|
||||
|
||||
std::unique_ptr<blink::WebPrescientNetworking> CreatePrescientNetworking(
|
||||
|
@ -84,7 +84,7 @@ class RendererClientBase : public content::ContentRendererClient
|
|||
v8::Local<v8::Object> context,
|
||||
v8::Local<v8::Function> register_cb);
|
||||
|
||||
bool IsWebViewFrame(v8::Handle<v8::Context> context,
|
||||
bool IsWebViewFrame(v8::Local<v8::Context> context,
|
||||
content::RenderFrame* render_frame) const;
|
||||
|
||||
#if BUILDFLAG(ENABLE_BUILTIN_SPELLCHECKER)
|
||||
|
@ -96,7 +96,7 @@ class RendererClientBase : public content::ContentRendererClient
|
|||
gin_helper::Dictionary* process,
|
||||
content::RenderFrame* render_frame);
|
||||
|
||||
bool ShouldLoadPreload(v8::Handle<v8::Context> context,
|
||||
bool ShouldLoadPreload(v8::Local<v8::Context> context,
|
||||
content::RenderFrame* render_frame) const;
|
||||
|
||||
// content::ContentRendererClient:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue