chore: stop using v8::Locker everywhere (#34078)
This commit is contained in:
parent
a2a8e493eb
commit
d8a7219d07
23 changed files with 0 additions and 43 deletions
|
@ -389,7 +389,6 @@ gfx::Rect Tray::GetBounds() {
|
|||
bool Tray::CheckAlive() {
|
||||
if (!tray_icon_) {
|
||||
v8::Isolate* isolate = JavascriptEnvironment::GetIsolate();
|
||||
v8::Locker locker(isolate);
|
||||
v8::HandleScope scope(isolate);
|
||||
gin_helper::ErrorThrower(isolate).ThrowError("Tray is destroyed");
|
||||
return false;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue