refactor: add gin_helper::Dictionary::CreateEmpty() helper (#39547)
This commit is contained in:
parent
9937a2bbe8
commit
09190085c0
29 changed files with 66 additions and 64 deletions
|
@ -596,7 +596,7 @@ void RendererClientBase::SetupMainWorldOverrides(
|
|||
v8::HandleScope handle_scope(isolate);
|
||||
v8::Context::Scope context_scope(context);
|
||||
|
||||
gin_helper::Dictionary isolated_api = gin::Dictionary::CreateEmpty(isolate);
|
||||
auto isolated_api = gin_helper::Dictionary::CreateEmpty(isolate);
|
||||
isolated_api.SetMethod("allowGuestViewElementDefinition",
|
||||
&AllowGuestViewElementDefinition);
|
||||
isolated_api.SetMethod("setIsWebView", &SetIsWebView);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue