mirror of
https://github.com/electron/electron.git
synced 2026-01-10 16:08:06 -05:00
Remove unneeded locker and handle scope
This commit is contained in:
@@ -267,8 +267,6 @@ void Cookies::Set(const base::DictionaryValue& details,
|
||||
void Cookies::OnCookieChanged(const net::CanonicalCookie& cookie,
|
||||
bool removed,
|
||||
AtomCookieDelegate::ChangeCause cause) {
|
||||
v8::Locker locker(isolate());
|
||||
v8::HandleScope handle_scope(isolate());
|
||||
Emit("changed", cookie, cause, removed);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user