refactor: remove more uses of v8::Isolate::GetCurrent() (#28369)
This commit is contained in:
parent
ff96fabe5e
commit
ae2059eaa1
9 changed files with 43 additions and 44 deletions
|
@ -264,7 +264,7 @@ void Menu::OnMenuWillClose() {
|
|||
}
|
||||
|
||||
void Menu::OnMenuWillShow() {
|
||||
Pin(v8::Isolate::GetCurrent());
|
||||
Pin(JavascriptEnvironment::GetIsolate());
|
||||
Emit("menu-will-show");
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue