Browse Source

Remove unneeded locker and handle scope

Kevin Sawicki 8 years ago
parent
commit
8abe8fe01d
1 changed files with 0 additions and 2 deletions
  1. 0 2
      atom/browser/api/atom_api_cookies.cc

+ 0 - 2
atom/browser/api/atom_api_cookies.cc

@@ -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);
 }