refactor: eliminate duplicate code (#29174)
This commit is contained in:
parent
6330f8be9f
commit
241cceb2c9
10 changed files with 66 additions and 151 deletions
|
@ -82,9 +82,6 @@ class RendererClientBase : public content::ContentRendererClient
|
|||
// Get the context that the Electron API is running in.
|
||||
v8::Local<v8::Context> GetContext(blink::WebLocalFrame* frame,
|
||||
v8::Isolate* isolate) const;
|
||||
// Executes a given v8 Script
|
||||
static v8::Local<v8::Value> RunScript(v8::Local<v8::Context> context,
|
||||
v8::Local<v8::String> source);
|
||||
|
||||
static void AllowGuestViewElementDefinition(
|
||||
v8::Isolate* isolate,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue